in reply to Re: more mod_perl configuration woes
in thread more mod_perl configuration woes

thanks.

i did set up the logout as the Location like LOGIN, but it wouldn't do what i wanted. i've googled for days, and it looke like most people work around the issue ( like i did ) by hand-rolling a logout.cgi that just expires the cookies. it works, so TMTOWTDI

i also changed the directives around after reading through the Horsey book again. i don't have it in front of me, but it was something like:

<Location /> <FilesMatch "\.(pl|cgi)> Options +ExecCGI .... other stuff ... </FilesMatch> </Location>
and that fixes the issue nicely.

Replies are listed 'Best First'.
Re: Re: Re: more mod_perl configuration woes
by perrin (Chancellor) on Mar 11, 2004 at 05:23 UTC
    I'm still not sure you understood what I meant about the logout. It is not supposed to be set up like the LOGIN one. You are supposed to just use a logout.cgi script like the one that is included in the distribution here. There is no additional httpd.conf stuff required to make logout work.

    The <FilesMatch> config you have above is redundant. The <Location> part is not doing anything. This is not a mod_perl issue but rather an apache configuration issue, so you should read the apache docs about it. There's a good intro here.