Welcome! Log In Create A New Profile

Advanced

Single server with multiple hierarchies

August 01, 2012 07:37AM
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
Subject Author Posted

Single server with multiple hierarchies

yashgt August 01, 2012 07:37AM

Re: Single server with multiple hierarchies

Francis Daly August 01, 2012 03:10PM

Re: Single server with multiple hierarchies

martinlove August 15, 2012 11:35AM

Re: Single server with multiple hierarchies

Edho Arief August 15, 2012 11:52AM

Re: Single server with multiple hierarchies

martinlove August 15, 2012 04:37PM

Re: Single server with multiple hierarchies

yashgt August 06, 2012 07:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready