|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Реврайты Wikka для nginx 0.7.*
- To: nginx-ru@xxxxxxxxx
- Subject: Реврайты Wikka для nginx 0.7.*
- From: Konstantin Belov <belov1985@xxxxxxxxx>
- Date: Mon, 16 Feb 2009 18:11:20 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=h+22jGlLbVdMGaeMo4oV42PcoXRQmDbqtNAJhkEYUw4=; b=fN9qe3F/oG42CRtFqEgQd38uGI2KcTuzzZFjFqX+xoaxklLQKx1zZnnMBI+CtmabSP 8KBKRRU+IgbTShtN9QZeNYhYKqsz6OmXKFNTx8s7E8uSyHH7kQK/vkeJEjADbrH+TAPV Da+NCIbNoTGyyjv+wwFQ/WIDeaEV85HqEgN+A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=JLNQkmAkwuqXO5/oz3TCIDvUATX3KvaFT8geCVJZk3hKqlBLh+bDA8kNDs1Ex87r/r k9+G34Yraln7Vwh7kYpdbMIZYhJu9ONkqPeWSgOPJ8Pq/vxrQKF1xw8qTEzMZyCg4++X 5JgES5OieIibXCrssRgh4lKxKSMv+Q0m3FqbI=
Добрый вечер!
Подскажите, как лучше переписать реврайты Apache для nginx + php-fcgi
через новую директиву try_files
<Directory /usr/local/www/data/wiki>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^\./]*[^/])$ $1/
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</Directory>
Спасибо!
|
|
|