On Wed, May 19, 1999, Vision Net Administration wrote:
> Hi all, I have tried a couple of things and was looking to see if someone
> could give me a shove in the right direction.
>
> I am running apache 1.3.6 with mod_ssl-2.2.8-1.3.6 and openssl-0.9.2b.
>
> I can get the server to work in https mode, but would like to restrict this
> to only certain pages, 99.9% of traffic is http.
>
> If someone could send me a sample config or point me to where I could find
> one I would greatly appreciate it!
The question is: what do you want to occur when the user requests a page via
HTTPS which is intended to be served via HTTP? There are lots of possibilities
in Apache. I personally (I'm biased, of course) would place a few cool
RewriteRule's into my virtualhost section for the HTTPS server which redirects
the URLs to the HTTP port. But when you just want to deny access with an error
message you can also use other methods.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]