On 6/13/07, Farid Izem <[EMAIL PROTECTED]> wrote:
Hi,

I have setup a Apache HTTP Server with Three Virtuals Hosts listening on port 80
 * host1.domain.com (http + rewriterule to have https).
 * host2.domain.com (http)
 * host3.domain.com (http)

And a Virtual Host for HTTPS Listening on port 443.
 * host1.domain.com (https)

Since, i tried to do : https://host[2-3].domain.com, i 'm using https with
the host1.domain.com ssl certificate.

My wish would have been to force host2 and host3 to never use https without
Using a RewriteRule.  Because, even my rewriterule works perfectly, it displays
the fact the cerificate is not correct and this show that several virtuals hosts
Are present in the server.

I already answered this question this week:
http://mail-archives.apache.org/mod_mbox/httpd-users/200706.mbox/[EMAIL 
PROTECTED]

Punchline: You can't do this without the certificate warning unless
you put host2 and host3 on a separate IP address or buy certificates
for them.

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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to