PHP can't run under alias folder

Igor Sysoev is at rambler-co.ru
Sun Jul 19 15:24:37 MSD 2009


On Sat, Jul 18, 2009 at 10:53:13AM -0400, e123e123e123 wrote:

> sorry i just learn nginx 3 days only , so 
> 
> location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
> 
> need change to what ??

You need just to set

 location ~ /phpmyadmin/.*\.(gif|jpg|jpeg|png|bmp|swf)$

before

 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$


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





More information about the nginx mailing list