httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wouter van Marle <>
Subject [users@httpd] Weird vhost / https problem.
Date Tue, 16 Aug 2005 15:49:38 GMT
Hi all,

I've a stock apache 2.0.53 installation (Mandrake rpm), and I've the
following situation.

I had my webserver running nicely, serving my single home page. Now I
wanted to add vhosts to host a second domain on the same box, and did so
in vhosts.conf (which is included in the main httpd2.conf), and now I
have a very weird problem: I can only access the pages via https (port
443), not via http (port 80). Accessing via http gives an error message
that I am accessing the server on a secured port (443) with normal HTTP.

I have no ssl or https configuration present in my config files, and
even don't want to use it. I want http.

I've added the port 80 in my vhosts.conf file, this doesn't change

The two different sites are shown when accessing it using the https://
protocols, so that part of the vhosts works!

I'm very much at a loss how this happens! Removing the include of
vhosts.conf allows me to access the main page (in var/www/html, this is
DocumentRoot in the main config) nicely over http. Hereby the vhosts
file, feel free to visit the pages and see for yourself.

################# Named VirtualHosts
NameVirtualHost *

<VirtualHost *:80>
  DocumentRoot /var/www/html

<VirtualHost *:80>
  DocumentRoot /var/www/html/dec-hk

Thanks for any help!


View raw message