Error with config when upgrading from 0.6.34 to 0.7.59 (the "alias" directive must use captures inside location given by regular expression)

Igor Sysoev is at rambler-co.ru
Thu Jun 18 12:46:51 MSD 2009


On Thu, Jun 18, 2009 at 03:39:53PM +0700, Edho P Arief wrote:

> 2009/6/18 Igor Sysoev <is at rambler-co.ru>:
> > On Thu, Jun 18, 2009 at 03:13:43PM +0700, Edho P Arief wrote:
> >
> >> is there behavior difference between
> >> alias /home/$1/public_html/$2;
> >> and
> >> alias /home/$1/public_html$2;
> >> ?
> >
> > Yes, you are right.
> 
> and that is...?

No significant difference, but

alias /home/$1/public_html$2;

is better.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list