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)
Jools Wills
buzz at exotica.org.uk
Sat Jun 20 19:27:58 MSD 2009
On Thu, 2009-06-18 at 11:41 +0400, Igor Sysoev wrote:
> locaiton ~ ^/~([^/]+)(/?.*)$) { (i changed to location ~ ^/~([^/]+)(/?.*)$ {)
> alias /home/$1/public_html/$2;
> autoindex on;
> }
this works well thanks. Are there any security risks with this? For
example could it be abused to gain access to another folder by using a
specific path ?
Best regards
Jools
More information about the nginx
mailing list