Dear Marc, > I can not reproduce your problem. As is asked before you > submit your bug report, please try this with Apache without > any extra modules.
Well, I spent a full day to compile a working apache with mod_perl and mod_ssl and mod_cntr and php, because of various installation bugs. As I said in my bug report, maybe the problem is linked to the use of mod_perl (or maybe mod_ssl). I can just tell that there is a bug. I could not reproduce the bug with a simple cgi under my apache, after +100 attempts. So it seems to have to do with mod_perl and the way it handles cgi. As the stuff also includes ssl variables, maybe it has to do with mod_ssl. > Are you _sure_ that you aren't missing something? Please > look more closely and try making the requsts yourself with > telnet. I really really doubt that what you say is happening > is happening. I'm _sure_ there is some bug, although I cannot claim is has to do with core apache. Here is a sample telnet session that demonstrate the problem: I JUST required /perl/essai.pl (thru mod_perl with my configuration) with is a little perl script which prints out environment variable and request parameters. I had to try several times before getting a wrong one. The variables are just stupid. It tells me that I am user "frizzera" under an "https" request, and it specifies an HTTP_REFERER and an HTTP_USER_AGENT that it could get from nowhere with the simple request I made. I also included my great essai.pl perl script at the end of this mail. Hope this help, have a nice day, Fabien. Fabien COELHO __ http://www.cri.ensmp.fr/~coelho __ [EMAIL PROTECTED] CRI-ENSMP, 35, rue Saint-Honor�, F-77305 Fontainebleau cedex, France phone: (+33|0) 1 64 69 {voice: 48 52, fax: 47 09, standard: 47 08} ________ All opinions expressed here are mine _________ ############# sample telnet session coelho:staff(027)@deauville src/Systeme; telnet palo-alto 80 Trying 10.2.16.200... Connected to palo-alto. Escape character is '^]'. GET /perl/essai.pl HTTP1.0 Host: palo-alto HTTP/1.1 200 OK Date: Mon, 02 Nov 1998 09:56:59 GMT Server: Apache/1.3.3 (Unix) Connection: close Content-Type: text/html <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <HTML><HEAD><TITLE>CGI en perl avec mod_perl</TITLE> </HEAD><BODY><H1>CGI en perl avec mod_perl</H1><H2>Parameters</H2><UL></UL><H2>Environment</H2><ul><li><b>AUTH_TYPE:</b> Basic <li><b>DOCUMENT_ROOT:</b> /usr/local/share/web/intra <li><b>GATEWAY_INTERFACE:</b> CGI-Perl/1.1 <li><b>HTTPS:</b> on <li><b>HTTPS_CIPHER:</b> EXP-RC4-MD5 <li><b>HTTPS_KEYSIZE:</b> 128 <li><b>HTTPS_SECRETKEYSIZE:</b> 40 <li><b>HTTP_ACCEPT:</b> image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* <li><b>HTTP_ACCEPT_CHARSET:</b> iso-8859-1,*,utf-8 <li><b>HTTP_ACCEPT_ENCODING:</b> gzip <li><b>HTTP_ACCEPT_LANGUAGE:</b> fr <li><b>HTTP_CONNECTION:</b> Keep-Alive <li><b>HTTP_HOST:</b> palo-alto <li><b>HTTP_IF_MODIFIED_SINCE:</b> Monday, 02-Nov-98 08:14:56 GMT; length=3984 <li><b>HTTP_PRAGMA:</b> no-cache <li><b>HTTP_REFERER:</b> https://www.iar2m.ensmp.fr/ <li><b>HTTP_USER_AGENT:</b> Mozilla/4.06 [en] (X11; I; SunOS 5.6 i86pc) <li><b>MOD_PERL:</b> 1.16 <li><b>PATH:</b> /bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin <li><b>PATH_INFO:</b> / <li><b>PATH_TRANSLATED:</b> /usr/local/share/web/intra/ <li><b>QUERY_STRING:</b> <li><b>REMOTE_ADDR:</b> 192.54.172.242 <li><b>REMOTE_PORT:</b> 58756 <li><b>REMOTE_USER:</b> frizzera <li><b>REQUEST_METHOD:</b> GET <li><b>REQUEST_URI:</b> /perl/essai.pl <li><b>SCRIPT_FILENAME:</b> /usr/local/www/perl/essai.pl <li><b>SCRIPT_NAME:</b> /perl/essai.pl <li><b>SERVER_ADMIN:</b> [EMAIL PROTECTED] <li><b>SERVER_NAME:</b> palo-alto.ensmp.fr <li><b>SERVER_PORT:</b> 80 <li><b>SERVER_PROTOCOL:</b> HTTP1.0 <li><b>SERVER_SIGNATURE:</b> <li><b>SERVER_SOFTWARE:</b> Apache/1.3.3 (Unix) <li><b>SSL_CIPHER:</b> EXP-RC4-MD5 <li><b>SSL_PROTOCOL_VERSION:</b> SSLv3 <li><b>SSL_SERVER_C:</b> FR <li><b>SSL_SERVER_CN:</b> www.iar2m.ensmp.fr <li><b>SSL_SERVER_DN:</b> /C=FR/ST=France/L=Fontainebleau/O=Ecole des mines de Paris/OU=Mastere IAR2M/CN=www.iar2m.ensmp.fr/[EMAIL PROTECTED] <li><b>SSL_SERVER_EMAIL:</b> [EMAIL PROTECTED] <li><b>SSL_SERVER_IC:</b> XY <li><b>SSL_SERVER_ICN:</b> Snake Oil CA <li><b>SSL_SERVER_IDN:</b> /C=XY/ST=Snake Desert/L=Snake Town/O=Snake Oil, Ltd/OU=Certificate Authority/CN=Snake Oil CA/[EMAIL PROTECTED] <li><b>SSL_SERVER_IEMAIL:</b> [EMAIL PROTECTED] <li><b>SSL_SERVER_IL:</b> Snake Town <li><b>SSL_SERVER_IO:</b> Snake Oil, Ltd <li><b>SSL_SERVER_IOU:</b> Certificate Authority <li><b>SSL_SERVER_IST:</b> Snake Desert <li><b>SSL_SERVER_L:</b> Fontainebleau <li><b>SSL_SERVER_O:</b> Ecole des mines de Paris <li><b>SSL_SERVER_OU:</b> Mastere IAR2M <li><b>SSL_SERVER_ST:</b> France <li><b>SSL_SSLEAY_VERSION:</b> SSLeay 0.9.0b 29-Jun-1998 <li><b>TZ:</b> MET <li><b>UNIQUE_ID:</b> Nj2B6woCEMgAAHFGNT0 <li><b>URL_COUNT:</b> 47 <li><b>URL_COUNT_DB:</b> /usr/local/apache/var/log/palo-alto.ensmp.fr.count <li><b>URL_COUNT_DINDEX:</b> index.html <li><b>URL_COUNT_FACEDIR:</b> /usr/local/www/share/digits <li><b>URL_COUNT_RESET:</b> Saturday, 31-Oct-1998 16:06:17 MET <li><b>URL_COUNT_TIMEFMT:</b> %A, %d-%b-%Y %H:%M:%S %Z </ul><b>Compte</b> <img src=/server-cntr></BODY></HTML>Connection closed by foreign host. ############# essai.pl script #! /usr/local/bin/perl -w # # $Id: essai.pl,v 1.2 1998/10/31 23:26:00 coelho Exp $ # # essai d'un script perl avec mod_perl. # use CGI; use Env; my $q = new CGI; print $q->header, $q->start_html('CGI en perl avec mod_perl'), $q->h1('CGI en perl avec mod_perl'); print $q->h2('Parameters'), $q->dump; print $q->h2('Environment'); print "<ul>"; foreach $var (sort keys %ENV) { print "<li><b>$var:</b> $ENV{$var}\n";; } print "</ul>"; print "<b>Compte</b> <img src=/server-cntr>"; print $q->end_html;
