Re: [EMAIL PROTECTED] X-CGI- Response Header Filtering

2008-11-28 Thread waf EID
That's what I did but I would like to know if there's a better solution, because I don't want to use my own module and I prefer to do this only by using the directives that come with Apache and it's modules. > I think the simplest solution would be to receive the response header, > set an environm

Re: [EMAIL PROTECTED] configuring disk cache look-up before proxying

2008-11-28 Thread Peter Michaux
Hi Eric, On Wed, Nov 26, 2008 at 2:44 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Wed, Nov 26, 2008 at 4:40 PM, Peter Michaux <[EMAIL PROTECTED]> wrote: > >> The back end server caches files in two different places and I would >> like Apache to look in those two places and only proxy if the c

Re: [EMAIL PROTECTED] mod_proxy: 302 redirect makes Apache ignore some headers

2008-11-28 Thread Nick Kew
Martijn Grooten wrote: Hello. I am running an Apache 2.0.52 web server that forwards most requests to a non-Apache back-end server using mod_proxy. This works fine in most cases. However, when the back-end server sends a 302 redirect response, Apache ignores some headers when forwarding this res

Re: [EMAIL PROTECTED] X-CGI- Response Header Filtering

2008-11-28 Thread Tom Evans
On Fri, 2008-11-28 at 10:22 +0100, waf EID wrote: > Hi, > > I have an httpd server running CGI which use cookies to identify > users. > The problem is that I would like to log the username in httpd logs. > The only solution I ve found is adding an HTTP Response Header called > X-CGI-USERNAME but

[EMAIL PROTECTED] mod_proxy: 302 redirect makes Apache ignore some headers

2008-11-28 Thread Martijn Grooten
Hello. I am running an Apache 2.0.52 web server that forwards most requests to a non-Apache back-end server using mod_proxy. This works fine in most cases. However, when the back-end server sends a 302 redirect response, Apache ignores some headers when forwarding this response to the client. In p

Re: [EMAIL PROTECTED] X-CGI- Response Header Filtering

2008-11-28 Thread waf EID
> I have an httpd server running CGI .. >> > Can you be a bit more specific ? What kind of cgi-bin scripts/programs are > you running ? can they be easily modified ? are you using perl/mod_perl ? > my CGI files are big binary programs and of course I can modify them, but I can't rewrite them in per

Re: [EMAIL PROTECTED] X-CGI- Response Header Filtering

2008-11-28 Thread André Warnier
waf EID wrote: Hi, I have an httpd server running CGI .. Can you be a bit more specific ? What kind of cgi-bin scripts/programs are you running ? can they be easily modified ? are you using perl/mod_perl ? which use cookies to identify users. The problem is that I would like to log the user

Re: [EMAIL PROTECTED] X-CGI- Response Header Filtering

2008-11-28 Thread waf EID
Exactly but with mod_header it doesn't work. Because if you remove the header, it is done before logging so when I use it in LogFormat, it's empty and I just get a dash. It would be great if it could remove it after logging or copy it in the environment. Thanks for your proposition anyway On Fri,

[EMAIL PROTECTED] Apache 2.2.10 - apxs - cross-compiling modules failing

2008-11-28 Thread Paul Herring
Short: I need to cross-compile modules which use apxs, but apxs fails. Long: I've tried the mod_python list, since that's the list dealing with my problem module, however after a few rounds of emails, it became apparent that the problem seems to be with the fact that there isn't a version of apxs

Re: [EMAIL PROTECTED] X-CGI- Response Header Filtering

2008-11-28 Thread Nick Kew
On Fri, 28 Nov 2008 10:22:16 +0100 "waf EID" <[EMAIL PROTECTED]> wrote: > It would be great if you could add a directive that allows us to > keep or remove those headers. Something like "Header", maybe? -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apach

Re: [EMAIL PROTECTED] Problems with RewriteRule in .htaccess

2008-11-28 Thread Krist van Besien
On Fri, Nov 28, 2008 at 1:02 PM, Andrew Connick <[EMAIL PROTECTED]> wrote: > Also, as it stands, I get an internal server error, which I can fix by > uncommenting #RewriteRule ROOT/ - [L] but why is this line needed ? You problem is due to the way RewriteRules are processed in a .htaccess file

[EMAIL PROTECTED] Problems with RewriteRule in .htaccess

2008-11-28 Thread Andrew Connick
Due to tomcat (& hosting) problems, I want to redirect everything except files ending in .jsp and .do to a ROOT/ directory So I have a .htaccess file as : ___ DirectoryIndex redirect.html RewriteEngine on # Redirect directory index to home page R

[EMAIL PROTECTED] X-CGI- Response Header Filtering

2008-11-28 Thread waf EID
Hi, I have an httpd server running CGI which use cookies to identify users. The problem is that I would like to log the username in httpd logs. The only solution I ve found is adding an HTTP Response Header called X-CGI-USERNAME but I had to write a module that removes it *(because I don't want my

[EMAIL PROTECTED] Apache 2.0.52 / server status / connection stuck in "..Reading.."

2008-11-28 Thread pthyseba
Hello, We're running Apache 2.0.52 on RHEL 4.6 with mod_ssl. Recently, we had to significantly increase our Apache Timeout value to please some applications that don't split off the bulk of their calculations as background jobs. Doing this of cause, means that connections can get stuck for a long