changing root dir based on file request

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


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


regards
rares



More information about the nginx mailing list