Welcome! Log In Create A New Profile

Advanced

Re: RewriteCond command

António P. P. Almeida
February 01, 2011 09:32PM
On 2 Fev 2011 02h11 WET, nginx-forum@nginx.us 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 an Apache mod_rewrite thing.

There's no equivalent in Nginx. It uses a saner, more clear approach
of a *single* condition + rule in Apache terms.

Cf. http://wiki.nginx.org/HttpRewriteModule

--- appa


_______________________________________________
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: 231
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready