httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommy Peterson <Tommy.Peter...@xpandcorp.com>
Subject RE: [users@httpd] how many <Location> directives can you have?
Date Fri, 03 Jun 2011 12:59:32 GMT
OK. Thanks.

But what do you mean "Please don't top-post"? I don't understand.


From: Jeroen Geilman [mailto:jeroen@adaptr.nl]
Sent: Friday, June 03, 2011 8:57 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] 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.

Mime
View raw message