Welcome! Log In Create A New Profile

Advanced

Re: nginx rewrite rules conditional once again

June 30, 2010 06:26AM
On Wed, Jun 30, 2010 at 03:44:44PM +0530, Rahul Bansal wrote:

> >
> > You think in a backward logic. Try a forward logic: what should be done for
>
>
> Agree with this!
>
> As a general rules, when writing nginx config, we better think from *scratch
> *.
> It happened to me that I came across some very complex apache rules and
> ended up sitting idle because I couldn't find their direct conversion in
> nginx.
> But then one day, I just analyzed input used and output produced by apache
> rules and in few hours I solved that problem is myself.
>
> Switching from apache to nginx is as complex as switching form windows to
> linux/mac.
> If you start solving any problem with old knowledge you will always find
> things difficult. ;-)

This is not Apache issue, this is a wrong practice to configure anything
with sendmail-style RewriteRules. BTW Apache is built by default without
mod_rewrite, you have to --enable-rewrite.


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

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

nginx rewrite rules conditional once again

Malte Geierhos June 29, 2010 11:34AM

Re: nginx rewrite rules conditional once again

edogawaconan June 29, 2010 11:40AM

Re: nginx rewrite rules conditional once again

Igor Sysoev June 29, 2010 11:50AM

Re: nginx rewrite rules conditional once again

rahul286 June 30, 2010 06:20AM

Re: nginx rewrite rules conditional once again

Igor Sysoev June 30, 2010 06:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
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