> } else {
> $r->headers_out->set(Location => '/sys-bin/search/search.cgi');
> $r->status(REDIRECT);
> return REDIRECT;
> exit 1;
> }
>
> }
>
> -Alexander
>
--
View this message in context:
http://www.nabble.com/Auth-Question-need-some-input-tf4878626.html#a14100966
Sent from the mod_perl - General mailing list archive at Nabble.com.
On Nov 27, 2007 9:32 PM, Alexander Burrows <[EMAIL PROTECTED]> wrote:
> Also what is HMAC?
http://en.wikipedia.org/wiki/Hmac
- Perrin
Alexander Burrows wrote:
...
> I gave this a shot with the little bits I could find on
> the net and I can not seem to get it working. I have ordered the mod_perl
> cookbook but have not received it yet.
http://www.modperlcookbook.org/chapters/ch13.pdf
>
> I just tried a very basic one to st
se
> Apache2::Cookie.
>
> You will eventually want to do more with the cookie to verify that it
> came from you. Usually people use some kind of HMAC for this.
>
> Also, while I applaud your interest in learning to write custom auth
> code, your needs sound pretty simple, and I bet you could use an
> existing apache module for this.
>
> - Perrin
>
>
--
View this message in context:
http://www.nabble.com/Auth-Question-need-some-input-tf4878626.html#a13984614
Sent from the mod_perl - General mailing list archive at Nabble.com.
On Nov 26, 2007 6:12 PM, Alexander Burrows <[EMAIL PROTECTED]> wrote:
> Alright I have been sitting on the side lines of learning anything new about
> mod_perl for too long. So I hope I've come to the right place to get brushed
> up on things.
You have. Welcome!
I don't write a lot of auth handl
$r->status(REDIRECT);
return REDIRECT;
exit 1;
} else {
$r->headers_out->set(Location => '/sys-bin/search/search.cgi');
$r->status(REDIRECT);
return REDIRECT;
exit 1;
}
}
-Alexander
--
View this message in context:
http://www.nabble.com/Auth-Ques