|
|
"HansH" <hansh@invalid.invalid> wrote in message
news:47135321$0$237$e4fe514c@news.xs4all.nl...
> "Mike" <me@privacy.net> schreef in bericht
> news:13h6crbci2krn25@corp.supernews.com...
> Using IP to adress server (via doamin forwarder)?
> HTTP/1.0 forced in browser or proxy?
>
> Show config snippet and method of access, best using real doainnames.
>
> HansH
Example of the first 2. I have changed the domains.
<VirtualHost *:80>
DocumentRoot /usr/local/apache/share/site1
ServerName www.site1 .com
DirectoryIndex index.htm index.html index.php
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /usr/local/apache/share/site2
ServerName www.site2 .com
DirectoryIndex index.htm index.html index.php
</VirtualHost>
If i go to site1 .com or site2 .com it brings up site1 because this is the
first virtualhost directory in my httpd.conf file. IP address does the
same.
I have 10 virtual host domains/websites setup all with their own directors.
All 10 domains will always bring up what ever virtual host document route
directory appears first in the httpd.conf file.
|
|