Thanks for the response.

The permissions are set correctly, and the LoadModule line is in place
(AddModule causes errors - is this a 1.3.x command?).  I've modified my
VirtualHost block for www.open2space.com to match your sample.  Now, when I
try to link to guse.open2space.com, www.open2space.com is loaded.  Strange,
I just tried changing the VirtualHost block back to using the *, restarted
Apache, and tried to load guse.open2space.com - the same behaviour occurs;
www.open2space.com is loaded.

On a positive note, I have tried to set up another virtual host for my
personal launch page - babes.open2space.com.  This is now working.

So, now I just need to figure out the guse.open2space.com domain, and get
Zope setup correctly to work with Apache.

As always, in further insight is appreciated.

Shawn


-----Original Message-----
From: Ray [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 1:50 AM
To: [EMAIL PROTECTED]
Subject: Re: (clug-talk) Apache 2 and Virtual Hosts?


1) Check access rights for the user your apache server is running
on the directories

/home/httpd/htdocs/guse

and

/manage


2) also check if you have these lines in your apache configuration file:

LoadModule vhost_alias_module modules/mod_vhost_alias.so
AddModule mod_vhost_alias.c


3) In my case I would use www.open2space.com instead of * :

<VirtualHost www.open2space.com>
        ServerName www.open2space.com
        ServerAlias open2space.ca
        DocumentRoot /home/httpd/htdocs
</VirtualHost>

Regards
Ray


Shawn wrote:

>I'm having some trouble getting virtual hosting running right and was
>wondering if anyone on the list might see what I'm missing.
>
>I'm trying to setup some subnets to my domain (www.open2space.com,
>sub1.open2space.com, sub2.open2space.com, etc.).  I've checked through the
>Apache documentation on their web site, and have edited my vhost.conf file
>like so:
>
>
>#Named Virtual Hosts
>NameVirtualHost *
>
>#open2space.ca root
><VirtualHost *>
>        ServerName www.open2space.com
>        ServerAlias open2space.ca
>        DocumentRoot /home/httpd/htdocs
></VirtualHost>
>
>#Guse
><VirtualHost *>
>        ServerName guse.open2space.com
>        DocumentRoot /home/httpd/htdocs/guse
></VirtualHost>
>
>#Zope management
><VirtualHost *>
>        ServerName zope.open2space.com:8080
>        DocumentRoot /manage
></VirtualHost>
>
>I've also checked my apache2.conf file to ensure it was using the
vhost.conf
>file.  I then modified my DNS records to support the new domain names.
>Finally, I stopped then restarted the Apache2 service.
>
>Once all that was done, I tried to bring up guse.open2space.com in a web
>browser, with no luck - it just timed out.  Same with the Zope domain
>(though I expected this - I don't have Zope setup properly to work with
>Apache yet).  However, I am able to ping the domains, and can do nslookup
on
>the domain names, and get a response from external DNS servers - so the
>names ARE resolving correctly.
>
>Does anyone have any tips or suggestions?  Thanks in advance.
>
>Shawn
>
>
>  
>

Reply via email to