httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah <>
Subject Re: [users@httpd] How to change HTTP headers in Apache 2.0.53?
Date Mon, 21 Mar 2005 23:13:01 GMT
On Mon, Mar 21, 2005 at 03:15:55PM -0500, Joshua Slive wrote:
> On Mon, 21 Mar 2005 14:43:33 -0500, Noah <> wrote:
> > On Mon, Mar 21, 2005 at 12:20:08PM -0500, Joshua Slive wrote:
> > > > Writing an intermediary CGI that would take the headers and modify
> > > > before sending to the customer's CGI is not something we want to do,
> > > > as performance in this environment is critical.
> > >
> > > Have you actually benchmarked the performance hit?  I'd be surprised
> > > if this was actually the factor make or break your application.
> > 
> > Depends; if it's a perl script (and there's no mod_perl involved) it can
> > definitely be a make/break. Wanna see pictures of melted servers? *whips
> > out wallet*
> But the thing is, the cost of the perl script is already sunk.  The
> script to do the variable substitution could be a simple shell script
> or a compiled executable.  All it costs is one extra program call.

I got the impression that the thought to add a CGI into the execution
stream which would muck with the headers prior to the request being
sent to the customer's (read: a different) CGI. If this is the case, a
second CGI would be getting called, (obviously =) ) reducing performance. If the plan was
to incorporate the headermunging into an existing CGI, I'd agree with you; it's just not the
impression I got from the original email.


<huey> dd of=/dev/fd0 if=/dev/flippy bs=1024
<huey> ^^^ Making Flippy Floppy

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message