Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Virtual Server is not working 1

Status
Not open for further replies.

bitmite

Programmer
Dec 2, 2003
122
CA
Hi

I am trying to get my vertual server to run but it apears like they are not even starting

here is my code

NameVirtualHost *:80

<VirtualHost *>

ServerSignature email
DirectoryIndex index.php index.html index.htm index.shtml
LogLevel warn
HostNameLookups off

</VirtualHost>

<VirtualHost *:80>

DocumentRoot /var/ServerName ServerAlias wookis.cs, *.wookis.ca

</VirtualHost>

when I type in it just goes to the default website.

What am I doing wrong






Brought to you By Nedaineum
The Portal to Geek-tum
 
Actually, everything you have in <VirtualHost *> should be defined globally if you want all those directives to apply to all vhosts. If not, they should be in <VirtualHost *:80> As for it not working, you seem to have taken care of that problem. I was able to browse to the link you provided.

 
yes I did figure it out.

It appears I need to put in each vhost the directoryindex tag

don't know but it worked

thanks

Brought to you By Nedaineum
The Portal to Geek-tum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top