Re: use ssl only on certain directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the SSL virtual host section just psecify the "DocumentRoot" directive on
the directory out out of which you will be serving your files via ssl, like
this

<VirtualHost xxx.xxx.xx.x:443>
DocumentRoot "/htdocs/ssl"
.......
.....
.....

</VirtualHost>

So now you can access your files in the directory /htdocs/ssl via SSL, since
you have specifically enabled ssl on that directory..., rest of the virtual
hosts would function as normal.

Hope this helps

Kishore Jalleda


On 4/12/06, Romeo Theriault <romeotheriault@xxxxxxxxx> wrote:
>
> It is, but within that virtual host, I need to specify only certain
> directories. I may be misunderstanding you though. Would you elaborate?
>
> Thanks,
> Romeo
> On Apr 12, 2006, at 2:11 PM, Kishore Jalleda wrote:
>
> > define your ssl configuration in the virtual host section of
> > httpd.conf
> >
> > Kishore Jalleda
> >
> >
> > On 4/12/06, Romeo Theriault <romeotheriault@xxxxxxxxx> wrote:
> >>
> >> Hi, We have a Red Hat AS 4.3 machine that we are running Apache on. I
> >> know how to setup mod_ssl and create a certificate to run the website
> >> with ssl encryption. But we don't want the whole site to have ssl,
> >> only certain directories. How do I edit the httpd.conf file so only
> >> certain directories are using ssl.
> >>
> >> Thank you
> >>
> >> Romeo Theriault
> >>
> >> --
> >> redhat-list mailing list
> >> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> >> https://www.redhat.com/mailman/listinfo/redhat-list
> >>
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux