Re: [EMAIL PROTECTED] mod_headers bug?

2008-04-07 Thread Neil Simons
: [EMAIL PROTECTED] mod_headers bug? Has anyone had experiences where mod_headers directives often fail to have any effect? - It is unable to modify headers, only create & modify newly added headers. Within my .htaccess file I carried out the following simple tests. 1) Header always

[EMAIL PROTECTED] mod_headers bug?

2008-04-07 Thread Neil Simons
Has anyone had experiences where mod_headers directives often fail to have any effect? - It is unable to modify headers, only create & modify newly added headers. Within my .htaccess file I carried out the following simple tests. 1) Header always set MyCustomHeader myCustomValue -- this works fi

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-12 Thread Joshua Slive
On 8/10/07, Jeff Murch <[EMAIL PROTECTED]> wrote: > Thanks Joshua. I found that it is nod_proxy_html v2 that is causing the > character set problem. Version 2 only outputs UTF-8. This was corrected in 3 > to allow you to specify a character set. So, I have downloaded the source > for 3 and compile

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Friday, August 10, 2007 12:04 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem On 8/10/07, Jeff Murch <[EMAIL PROTECTED]> wrote: > Would you please show me an example of how I would unconditionally rewrite &

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch <[EMAIL PROTECTED]> wrote: > Would you please show me an example of how I would unconditionally rewrite > the character-type header from utf-8? > > I am trying, and I know the syntax is more like pseudocode: > > RewriteEngine On > rewriterule ^C"Content-Type: text/html;charse

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
-8859-1" Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Friday, August 10, 2007 11:37 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem On 8/10/07, Jeff Murch <[EMAIL PROTECTED]&g

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch <[EMAIL PROTECTED]> wrote: > Wouldn't using RewriteCond be able to do that? No. RewriteCond can act on request headers but not response headers (since mod_rewrite must do rewriting before the response is written). Joshua. ---

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Wouldn't using RewriteCond be able to do that? Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Friday, August 10, 2007 11:14 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem On 8/

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch <[EMAIL PROTECTED]> wrote: > More info: > > It seems that none of the headers will unset... Standard protocol-required headers like Content-Type, Connection, etc, can't generally be manipulated with mod_headers. mod_rewrite can manipulate content-type, but I don't think

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Wrong again. SOME of the headers won't unset. Content-Type won't, Connection won't, but Server will Jeff -Original Message- From: Jeff Murch [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:07 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECT

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
More info: It seems that none of the headers will unset... Jeff -Original Message- From: Jeff Murch [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:06 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] mod_headers mapping problem I changed the syntax in the

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
10, 2007 10:44 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem Jeff Murch wrote: >I am trying to map the following in my httpd.conf (for a reverse proxy): > >header unset "Content-Type: text/html;charset=utf-8" >header add Content-

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Thanks Dragon. What if I only want it remapped when the Content-Type is UTF-8? Jeff -Original Message- From: Dragon [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 10:44 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem Jeff Murch wrote

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Dragon
Jeff Murch wrote: I am trying to map the following in my httpd.conf (for a reverse proxy): header unset "Content-Type: text/html;charset=utf-8" header add Content-Type "Content-Type: text/html;charset=iso-8859-1" As you can see I want to change the content type so that some of the characters r

[EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
I am trying to map the following in my httpd.conf (for a reverse proxy): header unset "Content-Type: text/html;charset=utf-8" header add Content-Type "Content-Type: text/html;charset=iso-8859-1" As you can see I want to change the content type so that some of the characters render correctly. But

Re: [EMAIL PROTECTED] Mod_headers and cgi question involving P3P/IE7/cookies

2007-05-23 Thread Joshua Slive
On 5/23/07, elwyatt <[EMAIL PROTECTED]> wrote: I'm running an admittedly old Apache 1.3.6 server configuration My guess is that the line above answers your two questions below. And so, the questions: 1. Shouldn't the header directive still be parsed via mod_headers, and shouldn't I expec

[EMAIL PROTECTED] Mod_headers and cgi question involving P3P/IE7/cookies

2007-05-23 Thread elwyatt
I'm running an admittedly old Apache 1.3.6 server configuration with an ecommerce website and recently attempted to resolve the problem involving cookies, IE7 and P3P Compact Headers. For any unfamiliar with the issue, IE7 browser, at the "High" privacy setting, will only allow cookies to be

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Matus UHLAR - fantomas
> On Thu, 2006-11-23 at 09:43 -0500, Joshua Slive wrote: > > > On Thu, 2006-11-23 at 09:18 -0500, Joshua Slive wrote: > > > > > > > But what you don't want is an HTTP server. > > > > > > True, although http would be suitable if I could reduce the > > unecessary > > > bandwidth from the headers. > >

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Dan Nelson
On Thu, 2006-11-23 at 15:40 +0100, Frode E. Moe wrote: > On Thu, Nov 23, 2006 at 22:31:48 +0800, Dan Nelson wrote: > > > Luckily, the 2.x version > > > has been designed to support multiple protocols. See mod_echo (or > > > mod_pop3 or mod_ftpd) for an example of how to substitute another > > >

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Dan Nelson
On Thu, 2006-11-23 at 09:43 -0500, Joshua Slive wrote: > > On Thu, 2006-11-23 at 09:18 -0500, Joshua Slive wrote: > > > > > But what you don't want is an HTTP server. > > > > True, although http would be suitable if I could reduce the > unecessary > > bandwidth from the headers. > > But the header

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Joshua Slive
On 11/23/06, Dan Nelson <[EMAIL PROTECTED]> wrote: On Thu, 2006-11-23 at 09:18 -0500, Joshua Slive wrote: > But what you don't want is an HTTP server. True, although http would be suitable if I could reduce the unecessary bandwidth from the headers. But the headers are an inherent part of HTT

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Frode E. Moe
On Thu, Nov 23, 2006 at 22:31:48 +0800, Dan Nelson wrote: > > Luckily, the 2.x version > > has been designed to support multiple protocols. See mod_echo (or > > mod_pop3 or mod_ftpd) for an example of how to substitute another > > protocol module for the http protocol module. > > Does that mean

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Dan Nelson
On Thu, 2006-11-23 at 09:18 -0500, Joshua Slive wrote: > But what you don't want is an HTTP server. True, although http would be suitable if I could reduce the unecessary bandwidth from the headers. > Luckily, the 2.x version > has been designed to support multiple protocols. See mod_echo (or

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Joshua Slive
On 11/23/06, Dan Nelson <[EMAIL PROTECTED]> wrote: On Thu, 2006-11-23 at 11:32 +0100, Matus UHLAR - fantomas wrote: > Why do you want to use apache (HTTP server) when you want your application > send no headers (e.g. no HTTP response)? Because Apache is robust, efficient, flexible, bulletproof,

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Dan Nelson
On Thu, 2006-11-23 at 11:21 +, Nick Kew wrote: > No headers at all? I'd like to get rid of as many as I can. But I can't seem to get rid of any, well, except the ones I create myself. > You can't do that in response to an HTTP/1.x > request, because (bugs aside), Apache won't break HTTP a

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Dan Nelson
On Thu, 2006-11-23 at 11:32 +0100, Matus UHLAR - fantomas wrote: > Why do you want to use apache (HTTP server) when you want your application > send no headers (e.g. no HTTP response)? Because Apache is robust, efficient, flexible, bulletproof, easy to interface to virtually any database, easy to

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Nick Kew
On Thu, 23 Nov 2006 11:28:51 +0800 Dan Nelson <[EMAIL PROTECTED]> wrote: > > I'm running Apache 2.0 on Debian Sarge. > > I have a non-standard application for Apache, and don't want to send > any headers in the response. No headers at all? You can't do that in response to an HTTP/1.x request,

Re: [EMAIL PROTECTED] mod_headers

2006-11-23 Thread Matus UHLAR - fantomas
On 23.11.06 11:28, Dan Nelson wrote: > I'm running Apache 2.0 on Debian Sarge. > > I have a non-standard application for Apache, and don't want to send any > headers in the response. I thought I'd be able to do so using > mod_headers. Why do you want to use apache (HTTP server) when you want you

RE: [EMAIL PROTECTED] mod_headers

2006-11-22 Thread Boyle Owen
> -Original Message- > From: Dan Nelson [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 23, 2006 4:29 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] mod_headers > > > I'm running Apache 2.0 on Debian Sarge. > > I have a non-standar

[EMAIL PROTECTED] mod_headers

2006-11-22 Thread Dan Nelson
I'm running Apache 2.0 on Debian Sarge. I have a non-standard application for Apache, and don't want to send any headers in the response. I thought I'd be able to do so using mod_headers. I can use the 'Header' directive to add my own header, and then append to and unset it. But using the same