If Apache2::AuthCookie with mod_perl: Apache2::PerlSections - write Apache configuration files in Perl
Then maybe
$VirtualHost{"www.yourdomain.com"} = { DocumentRoot => "/tmp/docs", ErrorLog => "/dev/null", WhatEverSatisfy => "Any", WhatEverDomain => ".yourdomain.com", Location => { "/" => { Allowoverride => 'All', Order => 'deny,allow', Deny => 'from all', Allow => 'from foo.com', }, "/protected" => { AuthType => 'Sample::Apache2::AuthCookieHandler', AuthName => 'WhatEver', ## might be "AuthenHandler" PerlAuthenHandler => "Sample::Apache2::AuthCookieHandler-> +authenticate", PerlAuthzHandler => "Sample::Apache2::AuthCookieHandler->a +uthorize", require => "valid-user", }, }, };
Maybe also idea to use prefix of "yourdomainAUC" for all those cookie auth vars
In reply to Re^2: Setting "Domain" dynamically when using Apache2::AuthCookie
by Anonymous Monk
in thread Setting "Domain" dynamically when using Apache2::AuthCookie
by tosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |