ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rewrite на nginx


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: rewrite на nginx
  • From: Andrey Safronov <safronov.andrey@xxxxxxxxx>
  • Date: Wed, 29 Dec 2010 16:03:16 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=WZYE/G7r1rWP5ZbZF2g+d9KwEgc5+UUESqhPLeVSGL8=; b=KiuBk3AAHyLPRtKQTB5heUi3+c8pP07nDNjfiNA57YqT3pT5Ftwmt/r3TzRDGrxKVf FaM+MypgyiQ1p0ICYL7WESh4UOr7mYfSjoTmRoOosX+hnefApUyWN2b0cMJKVvVmWw7T HEKCiP0+7FvcUO2gw7vepxTLJiekOnX4bKvI0=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UwK8ThxuuLVlfc3xu3qTL/MBorBBSnz1438C5gq945mWcnvtv0m3kJl5oeZfCYkhOk i943LO2Gqu23B7ATUserLukFE78AJ9ZoRueqXDp0EH4sch/fF3c/4iDCghWNai4Q7fX+ bGh/PwGB/FNqcT/LnuHMLaX6ML2U/yn1L4ZdM=
  • In-reply-to: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAFXVoDvQpxUilMFHPSXI0jcKAAAAQAAAArqEWGGA/m0ueeycfQpKSXAEAAAAA@xxxxxxxxx>
  • References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAFXVoDvQpxUilMFHPSXI0jcKAAAAQAAAArqEWGGA/m0ueeycfQpKSXAEAAAAA@xxxxxxxxx>



2010/12/29 Савельев Александр <sales@xxxxxxxxx>
location / {

root /home/http/domen.ru/www/;

index index.php index.html;

if (!-e $request_filename) {

rewrite ^(/.*)$ /index.php?q=$1 last;

break;

}

}





Но в ответ 404 ошибка.

Страница доступна по адресу blabla.domen.ru а данные должны подгружатся с с
domen.ru/index.php?q=blabla может я что то не так делаю?


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.