Re: <files> directive not having any effect

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

 



Hello Rainer,

Thanks for your suggestion: I checked, and apache appears to handle multiple leading slashes properly without having to specify the regex as “^/+wp-login.php.*”

And it appears to be consistent using safari, chrome, and firefox.

—jason

Jason BrooksSystems Administrator
eROIPerformance is Art.
 
m:505 nw couch #300w:eroi.com
t:503.290.3105f:503.228.4249


fb:fb.com/eROI








On Jan 25, 2017, at 1:00 PM, Rainer Jung <rainer.jung@xxxxxxxxxxx> wrote:

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@xxxxxxxxx
<mailto:covener@xxxxxxxxx>> wrote:

Yep

On Wed, Jan 25, 2017 at 2:41 PM, Jason Brooks <jason.brooks@xxxxxxxx
<mailto:jason.brooks@xxxxxxxx>> 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@xxxxxxxxx
   <mailto:covener@xxxxxxxxx>> wrote:


   On Wed, Jan 25, 2017 at 2:32 PM, Jason Brooks
   <jason.brooks@xxxxxxxx <mailto:jason.brooks@xxxxxxxx>> wrote:

       What’s going on?


   ​If it's proxied, <Files> won't match.
   ​



   --
   Eric Covener
   covener@xxxxxxxxx <mailto:covener@xxxxxxxxx>




--
Eric Covener
covener@xxxxxxxxx <mailto:covener@xxxxxxxxx>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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