[GLLUG] Apache virtual servers
Seth Bembeneck
sbdataspiller at sbcglobal.net
Wed Jul 28 23:23:55 EDT 2004
I have had virtual servers running fine for a while now, but lately I have
been experiencing some problems.
For example:
The url's http://cwhq.net <http://cwhq.net/> and www.cwhq.net
<http://www.cwhq.net/> don't seem to work in IE. But when used in Mozilla
Firefox, they work fine.
I have on the cwhq.net server, a re-direction service. It takes long urls
(http://blah.com/userblah/blah/m.html) and allows you to instead to
userblah.cwhq.net
An example of one of these is god.cwhq.net, which works, even though it goes
to the same place as http://cwhq.net <http://cwhq.net/> and www.cwhq.net
<http://www.cwhq.net/>
What is going on?
Here is my vhosts.conf file:
NameVirtualHost *:*
<VirtualHost *:*>
ServerName sdbnetworks.net
DocumentRoot "/www/htdocs/"
</VirtualHost>
<VirtualHost *:*>
ServerName dfstats.cwhq.net
VirtualDocumentRoot "/www/htdocs/dfstats/"
</VirtualHost>
<VirtualHost *:*>
ServerName shwsquad.cwhq.net
ServerAlias www.shwsquad.cwhq.net shwsquad.cwhq.net
DocumentRoot "/www/htdocs/shw/"
</VirtualHost>
<VirtualHost *:*>
ServerName icihost.cwhq.net
DocumentRoot /www/htdocs/zp
</VirtualHost>
<VirtualHost *:*>
ServerName cwhq.net
ServerAlias www.cwhq.net cwhq.net
ServerAlias *.cwhq.net cwhq.net
DocumentRoot "/www/htdocs/cw/"
</VirtualHost>
Also, how do I set up dynamic virtual servers where all I need to do is make
a folder named for example /www/hosts/mynet.cwhq.net?
I read in the documentation about the dynamic virtual servers but it really
didn't make much sense.
Thanks,
Seth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.egr.msu.edu/mailman-archives/linux-user/attachments/20040728/e7698e41/attachment.htm
More information about the linux-user
mailing list