You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Michael Schout <ms...@gkg.net> on 2015/08/11 16:16:07 UTC

Re: Apache2::AuthCookie - semantics of WhatEverPath parameter?

On 7/27/15 12:30 PM, Jim Garrison wrote:
> Every example for Apache2::AuthCookie shows
> 
>     ...
>     WhatEverPath /
>     ...

AuthCookie maintainer here.

Its the path that will be sent in the HTTP Cookie.

As already mentioned by others is the path component of the cookie.

If you set a cookie with path=/foo for example, that cookie is only
supposed to be sent by the client for urls that begin with /foo.

For example if you have a directory called /secure, and you only require
AuthCookie authentication to access urls under this directory, you might
set the path to /secure

Regards,
Michael Schout