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.
Subject Author Posted

location vs. rewite

etrader April 01, 2013 08:51AM

Re: location vs. rewite

Anton Yuzhaninov April 01, 2013 08:58AM

Re: location vs. rewite

etrader April 04, 2013 04:16AM

Re: location vs. rewite

locojohn May 05, 2013 03:03PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 214 on March 20, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready