Welcome! Log In Create A New Profile

Advanced

Re: RewriteCond command

February 02, 2011 05:04AM
On Tue, Feb 01, 2011 at 09:11:03PM -0500, lifeisjustabout wrote:

> hi i've seen many example that answered this forum and they use
> RewriteCond but if i put that command i get error nginx 0.8.3
>
> RewriteCond %{request_uri} !^index\.php

This should be translated from Yoda backward style to nginx forward style:

location = /index.php {
...
}

location / {
...
}


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

RewriteCond command

lifeisjustabout February 01, 2011 06:27PM

Re: RewriteCond command

António P. P. Almeida February 01, 2011 09:32PM

Re: RewriteCond command

lifeisjustabout February 01, 2011 10:24PM

Re: RewriteCond command

António P. P. Almeida February 02, 2011 12:04AM

Re: RewriteCond command

lifeisjustabout February 02, 2011 01:10AM

Re: RewriteCond command

lifeisjustabout February 02, 2011 04:43AM

Re: RewriteCond command

Igor Sysoev February 02, 2011 05:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready