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

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

 



On Tue, 15 Mar 2005 16:18:45 -0500 (EST), S.A. Birl
<sbirl+Apache-List@xxxxxxxxxxxxxxxxxx> wrote:
> 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.

Try <Location /mis/files/> ... </Location>

Joshua.

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