Re: [us...@httpd]

2010-03-15 Thread Allan McFarland
I would like to unsubscribe from httpd.apache.org I have not been using the resource thank you, thor...@gmail.com On Sun, Mar 14, 2010 at 11:35 PM, Tseveendorj Ochirlantuu < tseveend...@gmail.com> wrote: > unsubscribe >

FW: [us...@httpd] apache on windows

2010-03-15 Thread Brent Davidson
> I am fairly certain the 10 connections issue you bring up is for db > connections. They don't want you to be able to use this "cheaper" > version for a database server. We have the logins going to a different > site via embedded link. That might be your issue. Also anything that The Windows Ope

Re: [us...@httpd] Is web server in front of app server necessary?

2010-03-15 Thread 夏蒸鑫
2010/3/16 William A. Rowe Jr. : > All that said, neither is 'better'; the advantage of running httpd in front of > a tomcat server is that one is likely to avert an exploit in the other, due > to the > fact that you have two sets of parsers in place, each rejecting bogus > requests, so > the chan

Re: [us...@httpd] Is web server in front of app server necessary?

2010-03-15 Thread William A. Rowe Jr.
On 3/15/2010 8:52 PM, 夏蒸鑫 wrote: > maybe,I don't know. > but there is one point that we must believe. > that is,tomcat's stable version is more secure than devel version of httpd. Really? You have over a century, perhaps 2 centuries of security experience among the experts who monitor httpd commi

Re: [us...@httpd] Is web server in front of app server necessary?

2010-03-15 Thread 夏蒸鑫
maybe,I don't know. but there is one point that we must believe. that is,tomcat's stable version is more secure than devel version of httpd. Best regards, Sharl.Jimh.Tsin - The official User-To-User support forum of the Apache HT

[us...@httpd] configure one file with multiple mime types?

2010-03-15 Thread Jack Bates
How can I configure one file with multiple mime types? The behaviour I want to achieve is that described here, http://www.w3.org/TR/xhtml-media-types/ - when a file is requested and the user agent advertises "application/xhtml+xml" in the "Accept:" request header, I want Apache to respond with a

Re: [us...@httpd] 2.2.15-win32 compile failure (config-win.h)

2010-03-15 Thread William A. Rowe Jr.
On 3/15/2010 5:41 PM, Andy Wang wrote: > Hi all, > Just trying to build httpd 2.2.15 on Windows and I'm running into error: > > NMAKE : fatal error U1073: don't know how to make '"config-win.h"' > Stop. If you are building the "NT" targets, they no longer exist. I wasn't paying attention when we

[us...@httpd] 2.2.15-win32 compile failure (config-win.h)

2010-03-15 Thread Andy Wang
Hi all, Just trying to build httpd 2.2.15 on Windows and I'm running into error: NMAKE : fatal error U1073: don't know how to make '"config-win.h"' Stop. This worked fine in 2.2.14, and I did a comparison between the two trees and it looks like in 2.2.15, alot of the dep entries were moved into t

Re: [us...@httpd] Is web server in front of app server necessary?

2010-03-15 Thread Mohit Anchlia
Thanks Should we be concerned about security? Is httpd more secure than jboss or tomcat? On Sun, Mar 14, 2010 at 7:27 PM, 夏蒸鑫 wrote: > if only a java/servlet website, apache httpd is not necessary. > > Best regards, > Sharl.Jimh.Tsin > > ---

[us...@httpd] Re: Apache proxy based on condition

2010-03-15 Thread alin vasile
Hi All,    I am configuring a reverse proxy with Apache 2.2 and I need for certain conditions to make a request to another proxy. These conditions are based on some request headers and I can use them directly or mod_setenvif to configure a variable based on them.    For example I would like the

[us...@httpd] Re: server Error 500: howto examine what apache got

2010-03-15 Thread anton
Hi Charan, thanks (I will look at it) but I can see the headers from and to firefox with firebug too. But I don't thnik that this will help me: I need to see what *apache* gets back from the cgi script! Reason: 1. apache gets a bad header/ bad code where the header is not OK 2. apache gener

Re: [us...@httpd] server Error 500: howto examine what apache got

2010-03-15 Thread Eric Covener
On Mon, Mar 15, 2010 at 11:41 AM, anton wrote: > Hi, > > I get an error "Premature end of script headers:" > > Now, I know that apache get some wrong code, > but I would like to get (to log in a file) this > data which apache gets. > > Its a perl/cgi script which executes a php script and sends th

Re: [us...@httpd] server Error 500: howto examine what apache got

2010-03-15 Thread Charan
I guess you can use live http headers addon from firefox. Thanks, Charan On Mon, Mar 15, 2010 at 8:41 AM, anton wrote: > Hi, > > I get an error "Premature end of script headers:" > > Now, I know that apache get some wrong code, > but I would like to get (to log in a file) this > data which ap

[us...@httpd] server Error 500: howto examine what apache got

2010-03-15 Thread anton
Hi, I get an error "Premature end of script headers:" Now, I know that apache get some wrong code, but I would like to get (to log in a file) this data which apache gets. Its a perl/cgi script which executes a php script and sends the result back. How can I "sniff" what apache gets back from a

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Eric Covener
On Mon, Mar 15, 2010 at 11:15 AM, Anurag Kapur wrote: > I saw it used > here http://mail-archives.apache.org/mod_mbox/httpd-dev/200609.mbox/%3c450543d6.80...@web.turner.com%3e > I thought it is needed to differentiate a field set in the response header > from that in the request header. But after

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Anurag Kapur
I saw it used here http://mail-archives.apache.org/mod_mbox/httpd-dev/200609.mbox/%3c450543d6.80...@web.turner.com%3e I thought it is needed to differentiate a field set in the response header from that in the request header. But after reading the documentation again, I see it says: An HTTP reque

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Eric Covener
On Mon, Mar 15, 2010 at 10:59 AM, Anurag Kapur wrote: > Below is exactly what I tried: >    SetEnvIfNoCase response Cache-Control .+ cc_set=123 >    Header append X-ws "test" env=cc_set > Expected output: If response does not have Cache-Control set, the X-ws field > should display the text "test".

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Anurag Kapur
Below is exactly what I tried: SetEnvIfNoCase response Cache-Control .+ cc_set=123 Header append X-ws "test" env=cc_set Expected output: If response does not have Cache-Control set, the X-ws field should display the text "test". Actual output: X-ws field did not display the text "test" Not

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Eric Covener
On Mon, Mar 15, 2010 at 10:19 AM, Anurag Kapur wrote: > I have been trying configurations like the following: > SetEnvIf response Cache-Control !"^max-age*$" > test=ThisShouldDisplayInXwsField > Header append X-ws test Re-reading OP, it sounds like you just want Expires. I don't think it blows aw

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Anurag Kapur
I have been trying configurations like the following: SetEnvIf response Cache-Control !"^max-age*$" test=ThisShouldDisplayInXwsField Header append X-ws test With the above, as a first step I was trying to test if I can detect the presence of Cach-Control max-age field in the Response header. What

Re: [us...@httpd] mem_cache issue.

2010-03-15 Thread Eric Covener
On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal wrote: > Hi, > > The environment is  OS : CentOS 64 Bit , Apache 2.2.14, compile options : > --enable-proxy-balancer --enable-rewrite --enable-mods-shared=all > --enable-logio --enable-deflate --enable-ssl --enable-proxy > --enable-proxy-http --enable-

Re: [us...@httpd] Forwarding a file, not whole directory

2010-03-15 Thread Eric Covener
On Mon, Mar 15, 2010 at 5:19 AM, Milan Tomic wrote: > Hi everybody, > > Some hand is needed here... :) > > How can I specify, that request to one file should be redirected? > > I have this: > > >   >    ProxyPass  ajp://localhost:8010/MyApp/ >   > > > and now I would like to add this (request to

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Eric Covener
> I have been trying to work with mod_setenvif module to start but have not > made any progress and thus seeking your help. Show us what you have, and what it does. -- Eric Covener cove...@gmail.com - The official User-To-User

[us...@httpd] Re: Conditionally Setting HTTP Response Header

2010-03-15 Thread Anurag Kapur
Thanks Balj. Unfortunately using a servlet filter will not serve my purpose. In my system, some requests are proxied from HTTPD to Tomcat while others are served directly by HTTPD. Thus, I am looking for something in the HTTPD layer that can check if the header is already set and then take action

[us...@httpd] Strange logfile entries: 8\r\xff

2010-03-15 Thread Marten Lehmann
Hello, some of our users noticed, that lines like this appear in their logfiles: 58.187.78.42 - - [14/Mar/2010:04:38:53 +0100] "8\r\xff" 400 226 "-" "-" This has been noticed be different customers on different servers. I know that the Referer and Useragent may be empty (shown by the dash), b

Re: [us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Baljeet Nijjhar
Hi Anurag I have had the exact same problem and posted in http://www.gossamer-threads.com/lists/apache/users/382031?page=last You can use ExpiresDefault/ExpiresByType (this adds both an Expires and Cache-Control: max-age header to simultaneously support HTTP 1.0 and HTTP 1.1) or use LocationMatch.

[us...@httpd] Conditionally Setting HTTP Response Header

2010-03-15 Thread Anurag Kapur
Hello, I am looking for some help to set HTTP response headers conditionally. I have a setup where HTTPD sits in front of Tomcat and proxies requests to it. *Problem Statement* Set a Cache-Control max-age directive in the HTTP response header through HTTPD if it doesn't already exist. In addition

[us...@httpd] Forwarding a file, not whole directory

2010-03-15 Thread Milan Tomic
Hi everybody, Some hand is needed here... :) How can I specify, that request to one file should be redirected? I have this: ProxyPass ajp://localhost:8010/MyApp/ and now I would like to add this (request to single file to be redirected to THE OTHER tomcat): ProxyPass aj