PDA

View Full Version : PHP app outside of document root


ketchapay
07-31-2009, 01:48 AM
On Ubuntu, phpMyAdmin is installed in /usr/share/phpmyadmin and the configuration files in /etc/phpmyadmin. How do I make phpMyAdmin available using LSWS without having to install another copy inside the document root?

xendex
07-31-2009, 06:54 AM
I have the same question: is there any way to add phpMyAdmin as an add-on in LSWS, like awstats or so? And if yes, what is needed to do this.

Thanks in advance.

robfrew
07-31-2009, 08:55 AM
I would think you would need to set up a static context for the VH you want to add it to. You can read more about that here:

http://litespeedtech.com/docs/webserver/config/context/

xendex
07-31-2009, 12:55 PM
Thanks robfrew! Static context worked for me as expected.