httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Soultanian <>
Subject [users@httpd] Question about SSL and Apache and a certificate error
Date Mon, 29 Sep 2008 20:25:30 GMT
Our campus has an SSL certificate for  If you go to everything works peachy.

Now, if you go to, you get an error.  I talked to our 
server admin and he said it's because our certificate is registered to and not  He said only a wildcard certificate 
would fix this problem, but that something that the campus doesn't want 
to do for security and cost reasons.

So, is it possible to set up a rewrite condition such that when someone 
tries to navigate to, it will automatically redirect 
the user to and avoid the certificate error?  I 
tried using the following in a .htaccess file and it didn't work (still 
got the error):

RewriteEngine on
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !www
RewriteRule (.*) http://www.%{HTTP_HOST}%{REQUEST_URI} [R]

I thought maybe if the above code was put somewhere in the httpd.conf 
file it might work?

It seems like a long-shot (admin didn't think it'd work), but I figured 
I'd ask the experts here.  Any other possible ways to work around this?


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