You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ufuk Yuzereroglu <uf...@yuzereroglu.com> on 2002/09/09 19:31:01 UTC
HTML::Mason + Apache::Session problem
Hi
I am running a RedHat 7.3 server with kernel 2.4.18, Apache 1.3.26,
mod_perl 1.26-5 and Apache::Session and HTML:Mason-1.05 modules. When I
try to start apache i get the error message
Starting httpd: Subroutine status_mason redefined
at /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/Apache/Status.pm line 50.
But the server starts and operates. This bug is said to be fixed in
Mason-0.85 but as you can see I still get it. I have the same
components and code piece running on RedHat 7.0.
The other problem is, on the same system I have an
authentication/session information structure on my website built using
Apache::Session. I manage to log on with the right username and
password and the Apache-Session file is created under /tmp with owner
as apache:apache and file rights as 644. When I try to access the
submenus after the initial login process, the server acts as if it
cannot read the session files and does not grant me access. Well the
the strangest thing is I can access the submenus after clicking on the
link for 2-3 times. The first 1 or 2 does not grant access, but the
last one always seems to work. This seems to me that apache cannot or
does not read from the same Session file each time.
Can anyone please help? Thanks.