Allow & Deny Access to Directories
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
users@xxxxxxxxxxxxxxxx
Subject
: Allow & Deny Access to Directories
From
: Juan Jesús Cremades Monserrat <
relicary@xxxxxxxxx
>
Date
: Wed, 26 Jan 2011 12:16:33 +0100
Reply-to
:
users@xxxxxxxxxxxxxxxx
Hi,
I have a Server (server1) with the next directories:
/var/www/html/dir1
/var/www/html/dir2
/var/www/html/dir3
/var/www/html/dir4
And I want redirect an external URL across a Proxy (proxy1) to 'dir1'
I tried this meaning in the "httpd.conf" at proxy1:
<VirtualHost *>
ServerName external_url
ProxyPass /
http://server1/
ProxyPassReverse /
http://server1/
ProxyRequests Off
ProxyPreserveHost On
<Location /dir2>
order deny,allow
deny from all
</Location>
<Location /dir3>
order deny,allow
deny from all
</Location>
<Location /dir4>
order deny,allow
deny from all
</Location>
<Location /dir1>
order deny,allow
allow from all
</Location>
</VirtualHost>
It works, but I would like some brief and efficient meaning . Thanks
Follow-Ups
:
Re: Allow & Deny Access to Directories
From:
Tom Evans
Prev by Date:
Re: Making apache ready for ruby ajax responder
Next by Date:
Re: Allow & Deny Access to Directories
Previous by thread:
Making apache ready for ruby ajax responder
Next by thread:
Re: Allow & Deny Access to Directories
Index(es):
Date
Thread
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]