|  | Apache/mod_perl
|
Original Message | Apache/mod_perl Author Alan Collins on 03-20-2001 at 00:46 (EST) | I'm having trouble getting past the login screen for uDirectory, so I added the following line towards the end of the create_login_form subroutine:
print "npPassword: $pPassword, login_password: $login_passwordn";
This shows me that $pPassword contains all sorts of extra garbage, thereby never satisfying the expression "if ($pPassword eq $login_password)".
I think maybe this has to do with the webserver running Apache with mod_perl. The variable $pPassword seems to contain old data from previous invokations of the script.
Any thoughts???
|
|
| Messages In This Discussion |
1. RE: Apache/mod_perl Author Bill Weiner on 03-20-2001 at 22:57 (EST) | | I'm not sure what "mod_perl" is... so I can't say for sure what sort affect it could have. What I could do, however, is if you want, I could run your script through our debugger here to see if anything in your script has gotten corrupted somehow. Just send your script to us at support@uburst.com and I'll take a look at it.
|
|
2. RE: Apache/mod_perl Author Alan Collins on 04-07-2001 at 12:20 (EST) | | mod_perl is an Apache module that allows CGI scripts to be precompiled by the server and executed without forking (among other things). More web sites run Apache than any other web server, and most of those using perl use mod_perl.
For the benefit of other readers, I had to rewrite the entire script to use CGI.pm. (There may have been an easier work around, but being inexperienced, I was not aware of it.)
|
|
|
|