changing root dir based on file request

Stefanita Rares Dumitrescu katmai at
Wed Jan 27 04:07:26 MSK 2010

How can i change the root directory of a site but only when a specified 
file is requested.

For ex my website has root dir /var/www
I want for the root dir to be /var/newww


More information about the nginx mailing list