Welcome! Log In Create A New Profile


Re: location vs. rewite

April 04, 2013 04:16AM
Anton Yuzhaninov Wrote:
> > rewrite ^/favicon.ico /var/www/media/images/favicon.X.ico last;
> This is wrong - you can rewrite to other location, not to path on file
> system.
> Anyway rewrite does not need here, use location.

Sorry, my bad! In the second case, I meant rewrite ^/favicon.ico /media/images/favicon.X.ico last;

but anyway, it seems that location works better in general.

location vs. rewite

etraderApril 01, 2013 08:51AM

Re: location vs. rewite

Anton YuzhaninovApril 01, 2013 08:58AM

Re: location vs. rewite

etraderApril 04, 2013 04:16AM

Re: location vs. rewite

locojohnMay 05, 2013 03:03PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 77
Record Number of Users: 5 on August 04, 2015
Record Number of Guests: 244 on October 02, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready