PHP can't run under alias folder

Edho P Arief edhoprima at gmail.com
Sat Jul 18 18:57:58 MSD 2009


2009/7/18 Igor Sysoev <is at rambler-co.ru>:
>     location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
>
>> since it has more priority. Look at
>> http://wiki.nginx.org/NginxHttpCoreModule#location
>> to see how nginx chooses location.
>>
>> You need something like this:

This configuration actually works:

http://pastebin.com/m5e7d322f

even though it has the location block for images

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org





More information about the nginx mailing list