httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Long <bl...@uiuc.edu>
Subject Re: Another person with NCSA code hacks...
Date Sat, 01 Apr 1995 20:25:36 GMT
Last time, David Robinson uttered the following other thing:
> 
> >From: borud@itea.unit.no (Bjxrn Borud)
> >Newsgroups: no.www,comp.infosystems.www.providers,comp.infosystems.www
> >Subject: NCSA compliant cgi env. patch (Re: NCSA httpd 1.3 referer hack)
> >Message-ID: <BORUD.95Mar28124836@istind.itea.unit.no>
> >
> >[Carlos A. Pero]
> > |
> > |NCSA httpd 1.4 will be released in the next couple of weeks.  It is
> > |currently under beta-testing.  It has provisions for HTTP_REFERER
> > |(referring document) and HTTP_USER_AGENT (which browser), and allows
> > |logging to a separate file so as not to break the COMMON log file
> > |format.
> >
> >
> >Okay, I changed my patch a bit:
> >
> >  o Changed REFERER to HTTP_REFERER for cgi environment.
> >  o Added HTTP_USER_AGENT for cgi environment.
> 
> I'm puzzled; httpd and apache already set HTTP_xxx environment variables
> for all headers xxx, including User-Agent and Referer.

Yes, it does.  Part of the standard, actually, that any header gets set
to HTTP_xxx.

Brandon

-- 
 Brandon Long   (N9WUC)     "I think, therefore, I am confused." -- RAW
 Computer Engineering   	Run Linux 1.1.xxx	It's that Easy. 
 University of Illinois    blong@uiuc.edu   http://www.uiuc.edu/ph/www/blong
		Don't worry, these aren't even my views.

Mime
View raw message