PDA

View Full Version : Server Configuration Recommendations?


LebowskiT1000
June 14th, 2007, 04:45 PM
What is the best way to configure Apache such that I can have several separate instances of the same site on the same machine? Essentially a bunch of sandboxes. This is for development purposes, NOT for production.

I originally just tried having several different directories within the /var/www directory, but that didn't work for me, because I need each of the site instances to use a particular directory as the web document root directory (i.e. for userA, web root = /var/www/userA/dir1/dir2, for userB, web root = /var/www/userB/dir1/dir2, etc...)

Then I tried using the UserDir Module with Apache and that seems to have the same problem.

Any suggestions on what I can do?

-Chris

Mr. C.
June 15th, 2007, 02:24 AM
Do virtual hosts not meet your needs ?

MrC