need help cleaning up user directory and php rules

mike mike503 at gmail.com
Sat Mar 14 22:31:33 MSK 2009


2009/3/14 Igor Sysoev <is at rambler-co.ru>:

> It should be:
>
>  location ^/~(.+?)(/.+)?$ {
>          alias  /home/$1/public_html$2;
>  }
>
> because
>       root /home/$1/public_html/;
>
> will map /~mike/some/page.html to /home/mike/public_html/~mike/some/page.html;

I thought about that. Thanks.

This should be put down on the wiki as a howto: mod_userdir equivalent
or whatever





More information about the nginx mailing list