2 messages in ru.sysoev.nginxRe: wishlist: 'location + root' compa...
FromSent OnAttachments
Jonathan VanascoSep 23, 2006 12:27 pm 
Aleksandar LazicSep 23, 2006 12:40 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: wishlist: 'location + root' compatible with other webserver configurationsActions...
From:Aleksandar Lazic (al-n@public.gmane.org)
Date:Sep 23, 2006 12:40:15 pm
List:ru.sysoev.nginx

On Sam 23.09.2006 15:27, Jonathan Vanasco wrote:

the nginx implementaiton of 'location'+'root' is very different from most other servers it would be very nice if there were a compatible option

nginx maps location to disk by using 'root' + the full url

most other webservers map 'location' to disk by replacing 'root' as the file root for the url up to the 'location' match, and then map the additional url parts onto that directory

I'am not sure if I understand you right but could 'alias' help, as you can see in the example from http://wiki.codemongers.com/NginxXSendfile?!

Hth && regards

Aleks