httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost de Heer" <>
Subject [users@httpd] Re: three web on the same machine but I get the wrong page for a request using HTTPS (client side)
Date Thu, 28 Jul 2005 12:08:41 GMT
> <VirtualHost>
> ServerName

> <VirtualHost>
> ServerName

> Every thing works fine when I try to reach on HTTP
> protocole. But when I try to reach on HTTPS I get
> page. How can I configure apache so that I will get
> on HTTP even I request pages on

Because the https-site on that IP address is, and the
http-site is

You could try mod_rewrite, and rewrite if the host-header for the request

Something like

RewriteEngine on
RewriteCond %{HTTP_HOST}
RewriteRule (.*) http://%{HTTP_HOST}$1 [L]


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message