try_files for alias

Edho P Arief edhoprima at gmail.com
Fri Jun 19 18:52:14 MSD 2009


On Fri, Jun 19, 2009 at 3:33 PM, Edho P Arief<edhoprima at gmail.com> wrote:
> On Fri, Jun 19, 2009 at 3:30 PM, Edho P Arief<edhoprima at gmail.com> wrote:
>> 2009/6/18 Igor Sysoev <is at rambler-co.ru>:
>> php_params:
>> fastcgi_pass 127.0.0.1:8000;
>> fastcgi_index index.php;
>> fastcgi_param SCRIPT_FILENAME $request_filename;
>> include fastcgi_params;
>>
>> from phpinfo():
>>
>> _SERVER["SCRIPT_NAME"]  ^/\~([^/]+)(.*\.php)$
>> _SERVER["REQUEST_URI"]  /~edho/
>> _SERVER["DOCUMENT_URI"] ^/\~([^/]+)(.*\.php)$
>>
>> ...still in regex form?
>>
>> as for static file, it always returned with mime type of
>> application/octet-stream ( http://pastebin.com/m7d2c8f6e )
>>
>> --
>
> full config: http://pastebin.com/m2be37d60
>

Is this a bug?

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





More information about the nginx mailing list