httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah <s...@onastick.net>
Subject Re: [users@httpd] How to change HTTP headers in Apache 2.0.53?
Date Mon, 21 Mar 2005 19:43:33 GMT
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*

=)

> A third possibility is to write a simple module that would rewrite the
> request_rec for you.

I've not tried this (and don't honestly have the time right this second;
today's shaping up to be an interesting one), but if mod_perl were an
option, you may be able to use it to craft a module that did this. Of
course, if you're not already running it, installing it at this point
may be more trouble than it's worth. Additionally, if performance is
such a consideration, then a I'd agree that a small apache module would 
probably be the way to go here.

--n

-- 
<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: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


Mime
View raw message