Single server with multiple hierarchies
yashgt
nginx-forum at nginx.us
Wed Aug 1 11:37:10 UTC 2012
Hi,
My directory structure is:
/usr/share/nginx/www
/magento/current <- This is my application
/phpmyadmin
I changed the root of the server to
/usr/share/nginx/www/magento/current.
Now my app works perfectly when I access http://myserver/index.php.
I would like to configured phpmyadmin such that it is accessible as
http://myserver/phpmyadmin/index.php.
Please note that the root of my application is different than the root
of phpmyadmin and both are to be served from the same server.
If I create a location with ^~ /phpmyadmin/ can I set a root in it? Will
I have to do something to pass the index.php to FCGI. Will this have to
be done in the location directive?
Thanks,
Yash
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229189,229189#msg-229189
More information about the nginx
mailing list