Welcome! Log In Create A New Profile

Advanced

Help with apache to nginx rule !

Posted by Larry 
Help with apache to nginx rule !
January 23, 2013 11:09AM
Hi,

I tried my best to make things happen but no luck.

Here is my original rule :
[code]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z_.\-0-9]+)$ index.php?pinto=$1 [L,QSA]
[/code]

And my nginx one :
[code]
rewrite ^([a-zA-Z_.\-0-9]+)$ index.php?pinto=$1 last;
[/code]

But no guess what, it doesn't work.

What do I miss here ?

Many thanks,

See you,

Larry
Re: Help with apache to nginx rule !
January 23, 2013 11:21AM
I forgot to say I get a 500 error.

See you
Re: Help with apache to nginx rule !
January 24, 2013 08:22AM
What do your logs say?
Re: Help with apache to nginx rule !
February 28, 2013 03:42AM
Hi Kennie,

I made it ok.

Was a php issue !!

Thanks !
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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