[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Apache Virtual Host Q



Howdy,

Being new to Linux we serving., I have a silly Q:

the DocumentRoot on this server is /home/httpd/html right now if you go to the main ip in a web browser you see the index.html that resides there.

I've figured out how to set up VirtualHosting OK, but I noticed that the example in /etc/httpd/conf/httpd.conf says:


DocumentRoot /www/docs/host.somedomain.com



Though the general Apache Docment root is of course /home/httpd/html


So my Q is, what's the standard place to keep the directories for all the Virtual Sites on a an Apache server? We'll probably have about 10 - 20 sites, all with different names. Of course, right now they're on NT, and they all reside in C:\intepub (or something like that) so if you listed C:\inetpub you'd see folders:

C:\inetpub\ABC\
C:\inetpub\DEF\
C:\inetpub\Asdf\
C:\inetpub\MyHomeSite\
C:\inetpub\YourHomeSite\


Etc. Is /home/httpd/html a good enough place to move these too, or is there something insecure about it? It really doesn't matter to me, but I'd like to do what's ever's "standard".


Also, I'm intending on making all the dirs and docs owned by a webadmins group, and the users will just be whoever happens to make/move/copy the document (but not root) - does that sound ok?

Thanks a bunch,

JW





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]