You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Billy <ap...@kadesh.org> on 2003/10/10 22:12:19 UTC
[users@httpd] Excluding Directories in httpd.conf
I am running apache 1.3.27, on a RedHat 7.3 machine. One of the sites on
there has an ssl key, so I have to VirtualHosts setup. My question is can I
exclude a directory with some kind of directive? For example, both
VirtualHosts are pointing to the same path /usr/www/domain.com. I want to
excluded non SSL traffic from being able to reach the admin sections. My end
result would be http://www.domain.com/admin would not work...but
https://www.domain.com/admin would...I am not sure if this is possible, I
have been all over Google Groups, etc...maybe I am just using the wrong key
words! Any insight would be awesome!
Thanks!
Billy
---
[This E-mail was scanned for viruses by QuestNet.net (http://www.QuestNet.net)]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Excluding Directories in httpd.conf
Posted by suomi <ap...@ayni.com>.
Hi Billy
there is abundant docu about what can be put into a Deny clause.
suomi
Billy wrote:
>>in either web:
>>
>><Directory /directory-concerned>
>> Order deny,allow
>> Deny from whatever-you-choose
>></Directory>
>>
>>suomi
>>
>>
>
>Thanks Suomi, in the deny from area going to be the server name of the
>virtual host I want that rule to apply to?
>
>Billy
>
>
>---
>[This E-mail was scanned for viruses by QuestNet.net (http://www.QuestNet.net)]
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Excluding Directories in httpd.conf
Posted by Billy <ap...@kadesh.org>.
> in either web:
>
> <Directory /directory-concerned>
> Order deny,allow
> Deny from whatever-you-choose
> </Directory>
>
> suomi
Thanks Suomi, in the deny from area going to be the server name of the
virtual host I want that rule to apply to?
Billy
---
[This E-mail was scanned for viruses by QuestNet.net (http://www.QuestNet.net)]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Excluding Directories in httpd.conf
Posted by suomi <ap...@ayni.com>.
in either web:
<Directory /directory-concerned>
Order deny,allow
Deny from whatever-you-choose
</Directory>
suomi
Billy wrote:
>I am running apache 1.3.27, on a RedHat 7.3 machine. One of the sites on
>there has an ssl key, so I have to VirtualHosts setup. My question is can I
>exclude a directory with some kind of directive? For example, both
>VirtualHosts are pointing to the same path /usr/www/domain.com. I want to
>excluded non SSL traffic from being able to reach the admin sections. My end
>result would be http://www.domain.com/admin would not work...but
>https://www.domain.com/admin would...I am not sure if this is possible, I
>have been all over Google Groups, etc...maybe I am just using the wrong key
>words! Any insight would be awesome!
>
>Thanks!
>
>Billy
>
>
>---
>[This E-mail was scanned for viruses by QuestNet.net (http://www.QuestNet.net)]
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org