[users@httpd] Deny,Allow on an Apache proxy server

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

 



Using Apache 2.0.48 as both a regular and proxy server.

I am proxy'ing (forwards and backwards) a website, /mis, to an IIS server.
A request came in to IP restrict a specific folder under mis called files.

Originally, I set the IP restriction on the IIS server, forgetting that
the proxy was allowed to connect.  Therefore I need to set the same
restriction in httpd.conf

In httpd.conf I have

<Directory ~ "*/mis/files/*">
        Order Deny,Allow
        Deny from All
</Directory>

located before the proxy definitions.  However, when I attempt to view the
URL, the restriction is not in effect.

I saw nothing in the error log and 'apachectl configtest' was OK.

What's the proper way of IP-restricting this folder from Apache?

Thanks.
Birl

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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]

  Powered by Linux