RE: Apache::AuthCookie and ServerSide Include not working

2001-08-21 Thread Chad Phillips

Never mind.  A few more eyes showed me that my virtual host was not set up
right for SSIs

-Original Message-
From: Chad Phillips [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 12:13 PM
To: mod_perl List
Subject: Apache::AuthCookie and ServerSide Include not working


Hello,
I have apache 1.3.19 running on a Mandrake 8.0 box.  I am using authcookie
for authentication.  I can't seem to get any SSIs to run now.  I have
another plain install of apache on the same box and SSIs work fine.  The
only difference I have seen between the two installs is AuthCookie.  Has
anyone else had a problem running SSIs with Authcookie?

thanks
chad




sending multiple cookies with err_header_out()

2001-07-16 Thread Chad Phillips

Hello,

I am using Apache::AuthCookie.  I need to be able to set 2 cookies.
Apache::AuthCookie uses err_header_out() to set a cookie.  Is their a way to
use err_header_out()  to set two cookies?

thanks
chad




AuthCookie question

2001-07-06 Thread Chad Phillips

Hi,
I have set up Authcookie.  I modified the sample scripts for my sight.
Everything works except when the wrong password is entered.  When an invalid
user/password is entered, instead of re-displaying the login page, I get a
302 Found error to url
http://myhost/LOGIN

Any ideas on what I may have wrong?

thanks
chad

Here is a copy of my httpd.conf file

# In httpd.conf or .htaccess:
 PerlModule Sample::AuthCookieHandler
 PerlSetVar WhatEverPath /
 PerlSetVar WhatEverLoginScript /login.pl
 PerlSetVar AuthCookieDebug 3
 PerlFreshRestart On



# These documents require user to be logged in.
Location /members
 AuthType Sample::AuthCookieHandler
 AuthName WhatEver
 PerlAuthenHandler Sample::AuthCookieHandler-authenticate
 PerlAuthzHandler Sample::AuthCookieHandler-authorize
 Require valid-user
 AllowOverride All
/Location

Location /members/cgi-bin
 AuthType Sample::AuthCookieHandler
 AuthName WhatEver
 PerlAuthenHandler Sample::AuthCookieHandler-authenticate
 PerlAuthzHandler Sample::AuthCookieHandler-authorize
 Require valid-user
 AllowOverride All
/Location

# These documents don't require logging in, but allow it.
 FilesMatch \.cgi$
   AuthType Sample::AuthCookieHandler
   AuthName WhatEver
   PerlAuthenHandler Sample::AuthCookieHandler-authenticate
   PerlAuthzHandler Sample::AuthCookieHandler-authorize
   Require valid-user
/FilesMatch

FilesMatch \.pl
   AuthType Sample::AuthCookieHandler
   AuthName WhatEver
   SetHandler perl-script
   PerlHandler Apache::Registry
   Options +ExecCGI
   PerlAuthenHandler Sample::AuthCookieHandler-authenticate
   PerlAuthzHandler Sample::AuthCookieHandler-authorize
   Require valid-user
/FilesMatch

# This is the action of the login.pl script above.
  Files LOGIN
AuthType Sample::AuthCookieHandler
AuthName WhatEver
SetHandler perl-script
PerlHandler Sample::AuthCookieHandler-login
 /Files

 Location /perl-status
  SetHandler perl-script
  PerlHandler Apache::Status
 /Location




Can mod_perl work with Apache 2.0?

2001-04-25 Thread Chad Phillips

Can mod_perl work with Apache 2.0? When I tried to compile mod_perl-1.25
against Apache 2.016 I get this error:

# perl Makefile.PL
Enter `q' to stop search
Please tell me where I can find your apache src
 [] ../httpd-2_0_16
Configure mod_perl with ../httpd-2_0_16 ? [y]
* WARNING *

  Apache Version 1.3.0 required, aborting...

* WARNING *

Thanks
chad