You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Warhurst, SI (Spencer) " <S....@rl.ac.uk> on 2003/02/04 17:54:36 UTC
[users@httpd] 2.044 / htpasswd / CGI problem
Something a bit weird has started happening since I updated to Apache 2.044.
I have a CGI (Perl) script with a web interface that allows me to password
protect certain directories by setting up the appropriate .htaccess file and
making an entry into the password file.
In the CGI script I use the line like this:
system("$apachebin/htpasswd.exe -b $pwfile $username $password");
Now, this has always worked fine before, but now I get the "Server Error...
Error 500" response and in error.log lines like this:
[date/time] [error] [client IP] Premature end of script headers: pw.cgi,
referer: URL
[date/time] [error] [client IP] Automatically using MD5 format., referer:
URL
[date/time] [error] [client IP] d:/apache2/bin/htpasswd.exe: unable to
create temporary file \/htpasswd.tmp.ZL5eCM, referer: URL
I changed absolutely nothing in the script, all I did was update from Apache
2.043 to 2.044 and I made sure the Apache service (it's a Windows 2000
Server) is logged on with the same account as before.
Any ideas?
Thanks
--
Spencer Warhurst
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org