simple rewrite but...
igor at pokelondon.com
Thu Jun 26 15:13:17 MSD 2008
Hello, looks like you need to capture something into $1 before you can
rewrite ^(.*)$ /reservation.php$1 last;
On 26 Jun 2008, at 11:56, Drazen Milosevic wrote:
> i can't get it working.
> this is the rule for Apache wich works
> RewriteRule ^reservation.html$ /reservation.php
> In nginx I tried like this
> rewrite ^.*$ /reservation.php$1 last;
> rewrite ^reservation.html$ /reservation.php$1 last;
> rewrite ^/reservation.html$ http://www.domain.com/reservation.php$1
> with hundred variations but to no avail.
> I just can't get it working under nginx. It was actually little
> sending this to mailing list but....
More information about the nginx