At 01:57 PM 3/1/2006 -0500, I wrote:

Well, I've been able to configure my httpd.conf to serve two secure virtualhosts and the first page of a non-secure host, but not the following pages of the non-secure site.

The docs say I can't use name based virtual hosts with SSL, but it's working for the SSL sites, but it might be breaking the non-secured site?  Does anyone know how to set this up?

Here's my current config: (I've annotated it to try to explain what I'm trying to do)

### Section 3: Virtual Hosts

# I'm trying to serve secure and non-secure websites
NameVirtualHost *:80
NameVirtualHost *:443

# The current users of this site all use the ip address to get to it.
# This config works.
<VirtualHost 123.456.789.123:443>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /var/www/html/sgimis/pages
    ServerName 123.456.789.123:443
</VirtualHost>

# This site will be accessed by a FQDN
# It is working with this config
<VirtualHost *:443>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /var/www/html/newsgimis
    ServerName itr.example.com
</VirtualHost>

# This is the "main" domain site.
<VirtualHost *:80>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /var/www/html
   ServerName example.com
</VirtualHost>

# This one is a Drupal CMS PHP, MySQL site
# This is the one that's not working properly.
# I get to the index, but not any follow-on pages
<VirtualHost *:80>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /var/www/html/tty
   ServerName tty.example.com
</VirtualHost>

#This is another Drupal site
<VirtualHost *:80>
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /var/www/html/sgine
   ServerName sgine.example.com
</VirtualHost>

Any help would be much appreciated.  I find httpd to be a mystery.

Thanks,

Ken



Reply via email to