You need to redirect them to https if they're connecting on port 80.  
This was discussed in detail a little while back, check the list archives.

Something simple like:

Redirect /securedir https://myserver/securedir

Should do the trick for you.

-Dave

On Fri, Apr 06, 2001 at 12:27:30PM +0200, Fabien Salvi wrote:
> Hello, I have one server with 3 IP addresses and 3 VirtualHost with SSL.
> 
> I would like to allow HTTP clear everywhere but not in some precise
> directories
> Is it possible.
> I thought I can do it with SSLRequire, but I can't manage to make it
> work like I want.
>  
> Other question :
> Is it possible to change the page what says "Bad Request
> 
> Your browser sent a request that this server could not understand.
> 
> Reason: You're speaking plain HTTP to an SSL-enabled server port.
> Instead use the HTTPS scheme to access this URL, please."
> 
> Thanks in advance for your help...
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to