Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
On Thu, Feb 28, 2008 at 3:22 PM, Nils Jeppe <[EMAIL PROTECTED]> wrote: > > > On Thu, 28 Feb 2008, Nils Jeppe wrote: > > > You do realize that, at least according to the documentation, you can > control > > that behaviour? I somehow doubt that this is a bug, as it would affect a > > whole lot o

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
ok this is the config in my httpd.conf: AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript SetOutputFilter DEFLATE BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzi

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread Nils Jeppe
On Thu, 28 Feb 2008, Nils Jeppe wrote: You do realize that, at least according to the documentation, you can control that behaviour? I somehow doubt that this is a bug, as it would affect a whole lot of people, but of course everything is possible. Please post the relevant part of your Apach

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread Nils Jeppe
On Thu, 28 Feb 2008, J. Peng wrote: what I said is mod_deflate always send a "Vary: Accept-Encoding" header to clients though it didn't compress that object. this make some browsers have problems. You do realize that, at least according to the documentation, you can control that behaviour?

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
what I said is mod_deflate always send a "Vary: Accept-Encoding" header to clients though it didn't compress that object. this make some browsers have problems. On Thu, Feb 28, 2008 at 2:49 PM, Nils Jeppe <[EMAIL PROTECTED]> wrote: > > > On Thu, 28 Feb 2008, J. Peng wrote: > > > I just think Apa

Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread Nils Jeppe
On Thu, 28 Feb 2008, J. Peng wrote: I just think Apache's mod_deflate has a weak point. When client doesn't declare it accept encoding, apache returns an uncompressed object, but for this object mod_deflate also returns a "Vary: Accept-Encoding" header. This make some browsers be confused. In

[EMAIL PROTECTED] mod_deflate's problems

2008-02-27 Thread J. Peng
I just think Apache's mod_deflate has a weak point. When client doesn't declare it accept encoding, apache returns an uncompressed object, but for this object mod_deflate also returns a "Vary: Accept-Encoding" header. This make some browsers be confused. In fact my current IE6 sp2 can't download th

[EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-27 Thread wi
Hi all I have a need to create a RewriteRule that will take something like /clubhouse/1234567/mediafile.jpg and turn it into /clubhouse/1/2/3/4/5/6/7/mediafile.jpg It seems like a relatively simple thing, but the number of digits in the source URI could be anything between 1 and 18, so the reg

[EMAIL PROTECTED] rewrite based on Accept-Encoding header

2008-02-27 Thread J. Peng
Can we do a rewrite based on Accept-Encoding request header? If the request header includes "Accept-Encoding: gzip, deflate", we rewrite it to pathA. Otherwise rewrite it to pathB. thanks. //joy - The official User-To-User suppo

Re: [EMAIL PROTECTED] mod_deflate with ie6 with http/1.0 problems

2008-02-27 Thread Nils Jeppe
On Thu, 28 Feb 2008, J. Peng wrote: On Thu, Feb 28, 2008 at 3:07 AM, Vincent Bray <[EMAIL PROTECTED]> wrote: > http://home.arcor.de/pangj/ie6withdeflateerror.JPG I can't see any errors here. The request doesn't specify Accept-Encoding so the response is not compressed, but that's not an

Re: [EMAIL PROTECTED] Cookies in Apache

2008-02-27 Thread Nils Jeppe
Hi Rolf, On Wed, 27 Feb 2008, Rolf Kamp wrote: I am running apache 2.2.4 on Red Hat. I need to set 2 cookies, then redirect the request. The redirect is working, but the cookies are not being set. In order to debug this, I wrote a simple Perl CGI that sets 2 Don't have an immediate solution

Re: [EMAIL PROTECTED] mod_rewrite question - How to avoid Apache's 301 redirect to add trailing slash?

2008-02-27 Thread chengas123
Thank you all for your help. There were a couple problems I was having. The biggest turned out to be an .htaccess file in another directory interfering with this one, which made it very hard to figure out what was going on. Thanks again, Ben chengas123 wrote: > > Thanks noodl. This is a

Re: [EMAIL PROTECTED] SSL LDAP Connections on Win32

2008-02-27 Thread Harry Holt
I have tried this same configuration on Windows Server 2003, as well as Windows XP workstation. The results are essentially the same, but the error is different: [warn] [client 127.0.0.1] [3312] auth_ldap authenticate: user lizard authentication failed; URI / [LDAP: ldap_simple_bind_s() failed][S

Re: [EMAIL PROTECTED] mod_rewrite question - How to avoid Apache's 301 redirect to add trailing slash?

2008-02-27 Thread chengas123
Thanks noodl. This is a good idea, which I would like to use. I can't figure out how %{REQUEST_FILENAME} works though! If I use "RewriteCond %{REQUEST_FILENAME} -d" it only ever returns when I visit my homepage at lumidant.com. I used only this rule in my .htaccess and had it redirect to Yaho

[EMAIL PROTECTED] not setting up right

2008-02-27 Thread Edwin
Hey i just downloaded the latest version of apache and i can't get it to set up on my system. It isn't recognizing any of the platform files. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!

Re: [EMAIL PROTECTED] mod_deflate with ie6 with http/1.0 problems

2008-02-27 Thread J. Peng
On Thu, Feb 28, 2008 at 3:07 AM, Vincent Bray <[EMAIL PROTECTED]> wrote: > > > > http://home.arcor.de/pangj/ie6withdeflateerror.JPG > > I can't see any errors here. The request doesn't specify > Accept-Encoding so the response is not compressed, but that's not an > error. > The error is I ca

[EMAIL PROTECTED] proxy_balancer_module

2008-02-27 Thread frannack Guimard
Hello, Is there a specific mailing list for users and dev on proxy_balancer_module? Thank you _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/

[EMAIL PROTECTED] Installing apache (replacing lighttpd)

2008-02-27 Thread Tomas
Dear group. I'm in the process to replace lighttpd with apache. The system is a network hard-disk WD Mybook World. As standard it lighttpd is installed on the drive, but since I am going to run TRAC/SVN on it, i guess that I need apache. Due to the limited resources in the drive, I think that runn

RE: [EMAIL PROTECTED] Dynamic configuration of Apache as a Load-balancer of a Tomcat farm using mod_jk

2008-02-27 Thread frannack Guimard
Thank you Vincent for your answer. Unfortunately, I already looked at mod_proxy... and it is not doing more than mod_jk, at least on the topic I'm interested in. The Balancer manager enables dynamic update of balancer members already present (setting the lb factor to shut them down for exem

Re: [EMAIL PROTECTED] mod_rewrite question - How to avoid Apache's 301 redirect to add trailing slash?

2008-02-27 Thread Vincent Bray
On 27/02/2008, chengas123 <[EMAIL PROTECTED]> wrote: > Yes, that essentially is exactly what I'd like to do. However, I'm not sure > how to. I know how to test if the requested resource is a directory, but > does anyone have any ideas on how I would test if the rewritten URL is an > existing

Re: [EMAIL PROTECTED] mod_deflate with ie6 with http/1.0 problems

2008-02-27 Thread Vincent Bray
On 27/02/2008, J. Peng <[EMAIL PROTECTED]> wrote: > I have found a problem, if apache (my version 2.0.59) with mod_deflate > enabled, and if requesting the objects by IE6 with HTTP/1.0 protocal, > the browser can't get the objects correctly. What's the problem? In what way is this incorrect? >

Re: [EMAIL PROTECTED] Dynamic configuration of Apache as a Load-balancer of a Tomcat farm using mod_jk

2008-02-27 Thread Vincent Bray
On 27/02/2008, franck quinard <[EMAIL PROTECTED]> wrote: > But I have to constantly stop and start Tomcat instances on different > machines (via a script) for different reasons. I would like to know if there > is a way to > write a client that would tell Apache HTTP Server that a new worker is > av

Re: [EMAIL PROTECTED] Custom modules cleanup handler not being invoked in apache 2.0.59

2008-02-27 Thread Vincent Bray
Hi Rajesh, This question would be better on the [EMAIL PROTECTED] mailing list. http://httpd.apache.org/lists.html#modules-dev -- noodl On 26/02/2008, Rajesh Rao <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working with a custom apache module that needs to cleanup on child exit. > Under a steady

[EMAIL PROTECTED] Cookies in Apache

2008-02-27 Thread Rolf Kamp
I am running apache 2.2.4 on Red Hat. I need to set 2 cookies, then redirect the request. The redirect is working, but the cookies are not being set. In order to debug this, I wrote a simple Perl CGI that sets 2 cookies, then redirects to another Perl CGI on the same server which reads all cooki

Re: [EMAIL PROTECTED] mod_rewrite question - How to avoid Apache's 301 redirect to add trailing slash?

2008-02-27 Thread chengas123
Yes, that essentially is exactly what I'd like to do. However, I'm not sure how to. I know how to test if the requested resource is a directory, but does anyone have any ideas on how I would test if the rewritten URL is an existing directory? Also, thanks for the tip on disabling directory slash

Re: [EMAIL PROTECTED] mod_rewrite question - How to avoid Apache's 301 redirect to add trailing slash?

2008-02-27 Thread Eric Covener
On Wed, Feb 27, 2008 at 2:40 AM, chengas123 <[EMAIL PROTECTED]> wrote: > However, I still have one bug left in this implementation, which shows up > when I request a directory without a trailing slash. For example, > lumidant.com/contact becomes lumidant.com/lumidant/contact/ because Apache >

[EMAIL PROTECTED] Apache 2.2 for Solaris 5.10 on Sparc

2008-02-27 Thread Andrew2008
Can you tell me where I can download it please? Thanks -- View this message in context: http://www.nabble.com/Apache-2.2-for-Solaris-5.10-on-Sparc-tp15718467p15718467.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. -

[EMAIL PROTECTED] Re: Apache Failover problem in mod_jk 1.2.15

2008-02-27 Thread Jayamurugan
Hi Does anybody have any idea this problem? Please let me know. Thanks in advance Jai On 2/26/08, Jayamurugan <[EMAIL PROTECTED]> wrote: > > Hi there, > > We are using Apache 2.0.59 and Jboss.4.0.4 in our production solaris > 10 box. We have mod_jk 1.2.15 connector between apache and j

RE: RE: [EMAIL PROTECTED] Compiling Apache 2.2.8 under HP-UX 11i v2

2008-02-27 Thread Tamer Embaby
All, OK, I managed to get it working. Libtool that Apache 2.2.8 uses is version: 1.5.22 I downloaded the latest version from (1.5.26): http://www.gnu.org/software/libtool/ And ran ./configure and make, copied the libtool script over to: httpd-2.2.8/srclib/apr/ and httpd-2.2.8/srclib/apr-util/ an

Re: [EMAIL PROTECTED] Server hanging with requests in "W" state

2008-02-27 Thread Joshua Slive
On Wed, Feb 27, 2008 at 3:43 AM, <[EMAIL PROTECTED]> wrote: > > > Whats your timeout and keepalivetimeout settings set to ? > > > > If you have them more than 15 secs ? then you'll DOS yourself > > > > IE will hold open connections to the server for as long as it can... > > > > > Timeout 30

RE: [EMAIL PROTECTED] Compiling Apache 2.2.8 under HP-UX 11i v2

2008-02-27 Thread Adam Martin
Tamer, I believe I am experiencing the same issue on HP-UX 11.31 and sent an email to the group yesterday asking for help. When I utilize the gcc compiler I get the same error you do and when I utilize the HP ANSI C compiler if receive a message: ld: Can't find dependent library "libapr-1.so.2"

Re: [EMAIL PROTECTED] Flock issue? Further debug help needed

2008-02-27 Thread Rudy Gevaert
Thanks to who replied! We didn't know about the issue's with flock and nfs. We are looking at memcached now. Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT

[EMAIL PROTECTED] Compiling Apache 2.2.8 under HP-UX 11i v2

2008-02-27 Thread Tamer Embaby
Hello all, I'm trying to compile Apache 2.2.8 but failing with something that I believe to be error on the generated "libtool" utility, or may be a mistake from my side, but I'm not sure which. Information about the system: $ uname -a HP-UX SPHINX B.11.23 U ia64 4017848671 unlimited-user license

Re: [EMAIL PROTECTED] Urgent : Apache Mod_rewrite Testing

2008-02-27 Thread Guillaume Rousse
kernel.2k5 a écrit : > But Now problem is this Functionality Is Not working inside Mandriva > 2008 Apache installed via Howtoforge site . Why don't you install standard mandriva package ? -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62 -

[EMAIL PROTECTED] Urgent : Apache Mod_rewrite Testing

2008-02-27 Thread kernel.2k5
Hello All , I am using below code in Mandriva 2008 Apache : // Following is the sample code in .htaccess file. Options +FollowSymlinks RewriteEngine on RewriteRule ^memory/(.+)-(.+)-(.+)/$ scripts/sortPriceShip.php?modelName=$1&sortSize=$2&shipping=true [nc] RewriteRule ^memory/(.+)-(.

Re: [EMAIL PROTECTED] Server hanging with requests in "W" state

2008-02-27 Thread pthyseba
> Whats your timeout and keepalivetimeout settings set to ? > > If you have them more than 15 secs ? then you'll DOS yourself > > IE will hold open connections to the server for as long as it can... > Timeout 300 KeepAliveTimeout 15 SSl config contains directives to deal with Internet Explorer