wishlist: 'location + root' compatible with other webserver configurations

Aleksandar Lazic al-nginx at none.at
Sat Sep 23 23:40:38 MSD 2006


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





More information about the nginx mailing list