Bluehost.com Web Hosting $6.95

problem with AuthCookieName and Apache

This is a discussion on problem with AuthCookieName and Apache within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi Friends, I has a problem with my configuration of AuthCookieName and Apache, I has a apache 1.3 on ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2005
Francisco Castillo
 
Posts: n/a
Default problem with AuthCookieName and Apache

Hi Friends,

I has a problem with my configuration of AuthCookieName and Apache, I has a
apache 1.3 on debian woody , i has this :

in http.conf

# permite tomar de una cookie el login y pass
LoadModule cookie_auth_module /usr/lib/apache/1.3/mod_auth_cookie.so

the file of .so exists as ls shows me

-rw-r--r-- 1 root root 5684 Jun 25 2004
/usr/lib/apache/1.3/mod_auth_cookie.so

the apache -l says

morpheo:# apache -l
Compiled-in modules:
http_core.c
mod_so.c
mod_macro.c
suexec: enabled; valid wrapper /usr/lib/apache/suexec

the protected folder "protegida" has the
morpheo:# cat .htaccess
AuthType Basic
AuthName El realm
AuthUserFile /home/kiiop/claves/tienda
require valid-user
AuthCookieName VisitorID

in my php file
.....
setcookie("VisitorID","$numtarjeta:$pin",time()+72 00);
header("Location: ./validado.php?numtarjeta=" . $numtarjeta . "&pin=" .
$pin);
.....

and validado.php
<?
header("Location: ../protegida/");
?>

I has do the steps describe in
http://www.dsm.fordham.edu/~moniot/C...ie-htaccess-ho
wto.html

( this howto seems to be for redhat and I has debian)

but when i set the cookie (which i has seen on a browser alert) then the
apache dont seem to take the VisitorID cookie to pass it to the realm
..htaccess.
It seems as this system of mod_auth_cookie does not been working on my
system.

I has see the error.log of apache but it dont say nothing.

Please, Could you help me? Thanks in advance,

Saludos,
Francisco Castillo.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0