httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: [users@httpd] <files> directive not having any effect
Date Wed, 25 Jan 2017 21:00:37 GMT
Am 25.01.2017 um 20:57 schrieb Jason Brooks:
> Ok, that’s exactly what did it:
>
> I put in two locationmatches:
>
> one being:
> <LocationMatch “^/wp-admin.*>
>
> and the other:
> <LocationMatch “^/wp-login.php.*>
>
> Thank you for your fast response!

What about multiple leading slashes, e.g. ///wp-login.php ?

Check and if those are not yet covered use something like

<LocationMatch “^/+wp-login.php.*>

instead.

Regards,

Rainer

>> On Jan 25, 2017, at 11:42 AM, Eric Covener <covener@gmail.com
>> <mailto:covener@gmail.com>> wrote:
>>
>> Yep
>>
>> On Wed, Jan 25, 2017 at 2:41 PM, Jason Brooks <jason.brooks@eroi.com
>> <mailto:jason.brooks@eroi.com>> wrote:
>>
>>     Ah: I am using a proxypassmatch for *.php.
>>
>>     Will <Location …> work?
>>
>>     —jason
>>
>>
>>     Jason Brooks	Systems Administrator
>>     eROI	Performance is Art.
>>
>>
>>     m:	505 nw couch #300	w:	eroi.com <http://eroi.com/>
>>     t:	503.290.3105 <tel:(503)%20290-3105>	f:	503.228.4249
>>     <tel:(503)%20228-4249>
>>
>>     	
>>     	fb:	fb.com/eROI <http://www.facebook.com/eROI>
>>
>>     	
>>     	
>>     	
>>
>>
>>
>>
>>
>>>     On Jan 25, 2017, at 11:39 AM, Eric Covener <covener@gmail.com
>>>     <mailto:covener@gmail.com>> wrote:
>>>
>>>
>>>     On Wed, Jan 25, 2017 at 2:32 PM, Jason Brooks
>>>     <jason.brooks@eroi.com <mailto:jason.brooks@eroi.com>> wrote:
>>>
>>>         What’s going on?
>>>
>>>
>>>     ​If it's proxied, <Files> won't match.
>>>     ​
>>>
>>>
>>>
>>>     --
>>>     Eric Covener
>>>     covener@gmail.com <mailto:covener@gmail.com>
>>
>>
>>
>>
>> --
>> Eric Covener
>> covener@gmail.com <mailto:covener@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message