On Wed, Jan 27, 2010 at 8:07 AM, Stefanita Rares Dumitrescu
<katmai@keptprivate.com> wrote:
> Hi.
> How can i change the root directory of a site but only when a specified file
> is requested.
>
> For ex my website www.example.com has root dir /var/www
> I want for www.example.com/file.html the root dir to be /var/newww
>
>
location = /file.html { root /var/newww; }
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx