X-Sendfile <=> X-Accel-Redirect header

Aleksandar Lazic al-nginx at none.at
Tue Sep 19 12:06:45 MSD 2006


On Die 19.09.2006 11:51, Igor Sysoev wrote:
>On Mon, 18 Sep 2006, Aleksandar Lazic wrote:
>
>>Is root the wrong directive?!
>
>The root prefixes itself before the URI.
>The alias replaces the location part of URI by itself.
>So if you like to remove "/protected/" substrinbg from URI, you should
>use alias.

Aha!

Regards

Aleks





More information about the nginx mailing list