Hi again, well, I think I'm close!
When I go to URL http://domain.com/secureSection
I get sent to https://domain.com/secureSection/index.htm and the page displays
But, I can either go http or https to domain.com
This is all on a test machine for the moment.
What am I missing so if I go to https://domain.com I'll either get an 
error, or be directed to http://domain.com
Thanks Carlos for the tip!  :-)
Don

At 11:01 AM 09/14/2000 -0700, you wrote:
>You can use mod_rewrite.
>
>Example:
>
>RewriteEngine On
>RewriteCond %{REQUEST_URI} ^/secureSection.*
>RewriteCond %{HTTPS} !=on
>RewriteRule ^/(.*) 
><https://www.mydomain.com/$1>https://www.mydomain.com/$1 [R]
>
>-Carlos
>
>
>
>
>Don Smith wrote:
>>Hi all, new to this ssl thing.
>>I am pretty familiar with regular Apache, but this ssl stuff is greek to
>>me, but I'm getting it slowly!  :-)
>>Tried Apache-ssl and got it working, wasn't very easy.
>>So, here I am with Apache with mod-ssl, much easier to config, etc!  :-)
>>OK, here's my question.
>>I would like to restrict a portion of our web site to ONLY allow https
>>connections, NOT http.
>>And have the rest of the site to ONLY allow http, NOT https.
>>Currently I can get to everywhere with both http and https on my test 
>>system.
>>I apologize if this question has been asked before, I did search the modssl
>>site, Deja, etc.
>>I'm guessing I have to use Virtual Host in some way?
>>Thanks
>>Don
>>
>>______________________________________________________________________
>>Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
>>User Support Mailing List                      [EMAIL PROTECTED]
>>Automated List Manager                            [EMAIL PROTECTED]
>
>--
>-----------------------------------------------------------------------
>  Carlos Ramirez  +  Boeing  +  Reusable Space Systems  +  714.372.4181
>-----------------------------------------------------------------------
>     - My software never has bugs. It just develops random features


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to