LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   shared pear folder (https://www.linuxquestions.org/questions/linux-software-2/shared-pear-folder-346567/)

ciscohead 07-25-2005 10:42 AM

shared pear folder
 
I control a shared hosting server with lots of virtual accounts on it. I am installing phpdocumentor for my own use, and sooner or later one of my clients will want to use it too, so I would like the web interface part of it to be somewhere in the htdoc tree where system users can access it (with their passwords, of course) NOT under my own virtual.

I actually have three on this system and I would like only one copy of phpdocumentor web interface. I would add a user/pass for other users that asked.

The distro is slack (which my colo likes). The phpdocumentor install dir says to set one of the config vars to "somewhere" under docroot and then the pear install will make everything point to that. I looked in the code, it is obviously set up to be auto installed, because it has that directory hardcoded in so many places. :P My webserver has the docroot set to /home/www and all the virtuals are in subdirectories under that. The install doc says just do http://localhost/whatever
well nobody accesses this server via localhost, everyone is remote.

I tried a normal subdir with just a test.html under /home/www and it couldn't find it using http://<ip>/testdir/test.html, or http://<servername/testdir/test.html but that is because I think it defaults to /home/www/<defaultvirtual.com> I tried /home/www/cgi-bin with just a test.html and it gave me a permission problem.

If I put it under the default virtual dir would that be the correct option, or should I
put it directly under /home/www and if I did how can I make it serve?

So my questions are

1. where do I point the config var and
2. do I need to make any changes in httpd.conf
3. if so what?

I don't think I should have to buy another domain for this!
Thanks for your answer!!!


All times are GMT -5. The time now is 06:38 PM.