Welcome! Log In Create A New Profile

Advanced

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: 71
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready