Hello, I need help with this problem:
I have Apache 2.044 and ModPerl 2.0 on win'98 (ActivePerl 5.8)

I've tried to work with AuthTicket but it seems that the cookie is not sent (the 
sesion key is created). The browser don�t receive the cookie.
What's wrong??.  Here, I show you parts of error.log and httpd.conf files.

***********
*error.log*
***********
...
...
[Fri Mar 21 23:31:13 2003] [error] ENTRY Apache::AuthTicket::check_user [line 317]
[Fri Mar 21 23:31:15 2003] [error] ENTRY Apache::AuthTicket::get_password [line 320]
[Fri Mar 21 23:31:15 2003] [error] ENTRY 
Apache::AuthTicket::_compare_password_cleartext [line 325]
[Fri Mar 21 23:31:15 2003] [error] ENTRY Apache::AuthTicket::make_ticket [line 72]
[Fri Mar 21 23:31:15 2003] [error] ENTRY Apache::AuthTicket::fetch_secret [line 390]
[Fri Mar 21 23:31:16 2003] [error] ENTRY Apache::AuthTicket::save_hash [line 404]
<< DESTROY CALLED >> at C:/Perl/site/lib/Apache/AuthTicket.pm line 217.
[Fri Mar 21 23:31:16 2003] [error] ses_key 
hash:d4c63d31825499c0d8222d2b385ae22d:version:1:time:1048307475:user:testuser:expires:1048308375
returning [/foologin] for TicketLoginHandler at C:/Perl/site/lib/Apache/AuthTicket.pm 
line 98.
[Fri Mar 21 23:31:17 2003] [error] REASON FOR AUTH NEEDED: no_cookie
[Fri Mar 21 23:31:17 2003] [error] AUTHTICKET REASON: 

************
*httpd.conf*
************
...
...
PerlSetVar FooTicketLogoutURI /foo/index.html
PerlSetVar FooTicketLoginHandler /foologin
PerlSetVar FooTicketIdleTimeout 1
PerlSetVar FooPath /
PerlSetVar FooDomain localhost
PerlSetVar FooSecure 0
PerlSetVar FooLoginScript /foologinform

<Location /foo>
  AuthType Apache::AuthTicket
  AuthName Foo
  PerlAuthenHandler Apache::AuthTicket->authenticate
  PerlAuthzHandler Apache::AuthTicket->authorize
  require valid-user
</Location>

<Location /foologinform>
    AuthType Apache::AuthTicket
    AuthName Foo
    SetHandler perl-script
    Perlhandler Apache::AuthTicket->login_screen
</Location>

<Location /foologin>
    AuthType Apache::AuthTicket
    AuthName Foo
    SetHandler perl-script
    PerlHandler Apache::AuthTicket->login
</Location>

<Location /foo/logout>
    AuthType Apache::AuthTicket
    AuthName Foo
    SetHandler perl-script
    PerlHandler Apache::AuthTicket->logout
</Location>


__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to