Re: use ssl only on certain directories

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

 



But do I need to setup a completely different virtual host for every set of directories that I want to secure with ssl.
If yes, then do the virtual hosts  need to all have different names?

I would like to have one virtual host (eg. www.example.com) and specify within that Virtual Host section that I want directory "forms" and directory "apply" secured with ssl.

Romeo

On Apr 12, 2006, at 2:38 PM, Kishore Jalleda wrote:

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?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

[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