Remember, that the SSl server is just a particular virtual Host.
Thus you should ask yourself the question: How can I make sure,
that a second VHost is serving only certain pages and not all
or the first Host?

There are several possibilities. The easiest (not the most elegant
one) to do for you (I guess) is to copy the relevant pages under
 a different document root.

Aaron Woldman schrieb:
> 
> After going back through my origonal message I see I was somewhat vague.
> 
>   The Server fires up fine, all pages then are then served as https.
> 
>   I would prefer to just specify specific directories off the document root to
> be served as https, everything else should load as http.
> 
> Thanks
> 
> Aaron Woldman
> Vision Net Ltd
> -----Original Message-----
> From:   Ralf S. Engelschall [SMTP:[EMAIL PROTECTED]]
> Sent:   Wednesday, May 19, 1999 10:48 AM
> To:     [EMAIL PROTECTED]
> Subject:        Re: Apache ssl question
> 
> 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]
> 
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]

-- 
Holger Reif                  Tel.: +49 361 74707-0
SmartRing GmbH               Fax.: +49 361 7470720
Europaplatz 5             [EMAIL PROTECTED]
D-99091 Erfurt                    WWW.SmartRing.de
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to