RE: how many <Location> directives can you have?

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

 



OK. Thanks.

 

But what do you mean “Please don’t top-post”? I don’t understand.

 

 

From: Jeroen Geilman [mailto:jeroen@xxxxxxxxx]
Sent: Friday, June 03, 2011 8:57 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: how many <Location> directives can you have?

 

On 06/03/2011 02:32 PM, Tommy Peterson wrote:

Yes. Here is what I had to start with


Please don't top-post.


<LocationMatch "/drupal/online-courses\?id=\d">
   AuthType shibboleth
   ShibRequireSession On
   ShibUseHeaders On
   require shibboleth
</LocationMatch>
 


LocationMatch cannot match a query string, you need a rewriterule for that.
>From the documentation:

For all origin (non-proxy) requests, the URL to be matched is a URL-path of the form /path/. No scheme, hostname, port, or query string may be included.


 
<Location /drupal/user>
  AuthType shibboleth
   ShibRequireSession On
   ShibUseHeaders On
   require shibboleth
</Location>
 


If any of these ALSO have a physical directory, the result is less clear-cut.

Authentication should be performed on physical directories whenever possible.



-- 
J.


This message contains Devin Group confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this e-mail in error and delete this e-mail from your system. E-mail transmissions cannot be guaranteed secure, error-free and information could be intercepted, corrupted, lost, destroyed, arrive late, incomplete, or contain viruses. The sender therefore does not accept liability for errors or omissions in the contents of this message which may arise as result of transmission. If verification is required please request hard-copy version.

[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