modPerl Xampp issue ? (REMOTE_USER)

Problems with the Linux version of XAMPP, questions, comments, and anything related.

modPerl Xampp issue ? (REMOTE_USER)

Postby bercy46 » 24. November 2006 15:15

Hi,

Xampp is installed on my Fedora core 5 machine.

I'm running a perl script from a directory that is protected with a .htaccess file.

I've setup apache to run as normal cgi if I access the file through /cgi-bin/..., and to run as mod-perl if accessed from /perl/...

If I run the script as normal cgi, I have access to $ENV{REMOTE_USER} to identify my user.

If I run the script as modPerl, that environment variable is not set.

Is that due to some Xampp configuration in httpd.conf or elsewhere, or is it just me that should know that $ENV{REMOTE_USER} is not set in modPerl ?

My question would then be : how do I know, in modPerl, what user is accessing my script ?

Thanks.
bercy46
 
Posts: 3
Joined: 10. April 2006 17:47

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 32 guests