Welcome! Log In Create A New Profile

Advanced

changing root dir based on file request

Stefanita Rares Dumitrescu
January 26, 2010 08:12PM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

changing root dir based on file request

Stefanita Rares Dumitrescu January 26, 2010 08:12PM

Re: changing root dir based on file request

任晓磊 January 26, 2010 08:28PM

Re: changing root dir based on file request

edogawaconan January 26, 2010 08:32PM

Re: changing root dir based on file request

Stefanita Rares Dumitrescu January 27, 2010 07:04AM

Re: changing root dir based on file request

edogawaconan January 27, 2010 07:12AM

Re: changing root dir based on file request

Stefanita Rares Dumitrescu January 27, 2010 07:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready