[users@httpd] Virtual Hosts & public_html Folder

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

 



This is how most of my virtual hosts are set up:

<VirtualHost *:80>
ServerName geoworld
ServerAlias geoworld *.geoworld
DocumentRoot c:\sites\geoworld
</VirtualHost>

However, I read somewhere that it's better to put your
sites inside a folder named public_html, then set up
your virtual host like this:

<VirtualHost *:80>
ServerName geozoo
ServerAlias geozoo *.geozoo
DocumentRoot c:\sites\geozoo\public_html
</VirtualHost>

Can anyone tell me if that's better and why? I've set
a couple sites up like that, and everything seems to
work OK, but I don't want to go to the trouble of
changing all my sites if there's no real advantage.

Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux