httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Rewrite, or what?
Date Fri, 19 Mar 2004 17:44:06 GMT



On Fri, 19 Mar 2004, Anders Norrbring wrote:

>
> I have a small problem...  I run Apache2 with name based virtual hosts at
> port 80.  I also have an administrative page at https on port 443.
>
> Now, the problem is that the admin page is reached by https://www.server.tld
>
> If I go to a virtual host at http://www.virtual.tld that works perfectly
> well, but if I should type in https://www.virtual.tld the admin page comes
> up and in the browsers URL window it looks like it's the virtual hosts admin
> site, not the base URL for the SSL admin page.
>
> How can I fix this?  Either so that a https call to a virtual host shows
> nothing at all, or an error page, or it gets routed to the "right address"?

I'm guessing this is one very-special case where you might want to use the
NameVirtualHost directive with ssl.  See the following example
http://httpd.apache.org/docs/misc/FAQ.html#canonical-hostnames
but replace * with *:443.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message