Results 11 to 12 of 12
how about this Code: NameVirtualHost *:80 you reference the name in each of the other virtual host containers as *:80, I believe it should match the name based virtual host ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-12-2009 #11
I believe you would then change your <virtual host *> lines to <virtual host *:80> to match the namebased......
oh wait, are you using apache 1.3 or 2.X?
in 1.3 its NameVirtualhost, in 2.X its NameBasedVirtualHost
name based virtual hosting - Google Search
first link is for 1.3 and second is for 2.X
if you posted the version already, my bad.
- 03-12-2009 #12
Try something like this
NameVirtualHost 192.168.0.25 <VirtualHost 192.168.0.25> ServerAdmin webmaster@localhost ServerName xfc DocumentRoot /home/elija/sites/xfc/public-html/ <Directory /> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog /home/elija/sites/xfc/logs/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /home/elija/sites/xfc/logs/access.log combined ServerSignature On </VirtualHost>
Replace the IP Addresses with the IP Address of your server.
Hope this helps."I used to be with it, then they changed what it was.
Now what was it isn't it, and what is it is weird and scary to me.
It'll happen to you too."
The Fifth Continent