Re: [apache-ssl] IE and Netscape
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-ssl] IE and Netscape




In article <35D3259A.791E88B4@hkust.se> you wrote:
> Cybertech wrote:
>> Got the VHost up, thanks for all your help. Just have another question. The
>> site can be viewed without problems with Netscape but IE says it doesn't
>> exist after you accept the cert. Also is there a way to make the secure
>> site be http:// instead of https://, this site is registered with alot og

> No.

>> search engines and of cource now it can't be found because of the http://.
>> And finally, if you type in the actual address for the site, ie:
>> http://www.myserver.com/~site, then it is not secure. Any way around this
>> too?

> Well, maybe mod_rewrite could help you? all requests to the http: host
> will be
> redirected to their counterparts in the https: server....

Yes, would be possible. You can use the following rule to do this redirection:

  RewriteEngine on
  RewriteRule   ^/(.*) https://%{SERVER_NAME}/$1 [R,L]

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com