Re: [EMAIL PROTECTED] mod_proxy delay detecting application restart

2008-02-25 Thread Andrus Adamchik
Hi Vincent, Since I was targeting Apache 2.0.*, I didn't even check the 2.2 docs, so I missed the "retry" parameter. I tried your advice on OS X Leopard that actually has HTTPD 2.2, and it worked nicely. Now need to figure out how to upgrade my other servers... Thanks Andrus On Feb 26,

Re: [EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Matthias Kellermann
Tom Donovan wrote: The encrypted password formats which Apache recognizes are documented at http://httpd.apache.org/docs/2.2/misc/password_encryptions.html Passwords encrypted with the MySQL MD5() function will not work with Apache authentication. -tom- Thanks Tom. Is there any chance tha

[EMAIL PROTECTED] Load balancing query.

2008-02-25 Thread olivier giorgi
Hello to all, 1) With Apache 2.2.4 the following statefull load balancing syntax is correct: SetEnvIf ^Cookie$ "MYCOOKIE=([^ ;]*)" MYCOOKIE=$1 Header add Set-Cookie "MYCOOKIE=%{UNIQUE_ID}e.%{BALANCER_WORKER_ROUTE}e; path=/" env=!MYCOOKIE ProxyPass /RootURI balancer://Cluster stickysession=MYC

[EMAIL PROTECTED] Apache log errors

2008-02-25 Thread Krishna Chandra Prajapati
Hi All, My web server log error is " NULL::dba can't connect to mysql" The above error shows occasionally in the error log file of apache. Every thing is fine on the mysql database server. It happens twice or thrice a day. I am not able to find out whats the issue. Please help me. Thanks, Krish

Re: [EMAIL PROTECTED] Problem with mod_deflate and IE6 javascript caching

2008-02-25 Thread Yuan HOng
On Tue, Feb 26, 2008 at 1:49 AM, yary <[EMAIL PROTECTED]> wrote: > Transfer encoding requires content negotioation, so maybe this will help: > http://httpd.apache.org/docs/2.0/content-negotiation.html#caching > Thanks for the hint. But the CacheNegotiatedDocs directive is only effective for HTTP1

Re: [EMAIL PROTECTED] Problem with mod_deflate and IE6 javascript caching

2008-02-25 Thread Yuan HOng
On Tue, Feb 26, 2008 at 1:41 AM, David Cassidy <[EMAIL PROTECTED]> wrote: > How are you testing that this is working correctly ? > > Are you using wget with the --header="Accept-Encoding: gzip" > to test it ? > On the IE6 side I installed IE HttpAnalyzer to inspect the request and responses betw

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

2008-02-25 Thread Vincent Bray
On 25/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > We're having some strange problems with our webservers (https), which are > Apache 2.0.52 on RHEL4 and 2.0.46 on RHEL 3. This could be due to MSIE's duff SSL implementation. Do you have something like this in your SSL config? Browser

Re: [EMAIL PROTECTED] mod_proxy delay detecting application restart

2008-02-25 Thread Vincent Bray
On 25/02/2008, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > Is there a way to > configure a smaller refresh interval or avoid instance status caching > all together? Try this: ProxyPass /myapp/ http://localhost:8105/myapp/ retry=5 I don't know if that's right but the docs suggest it is. http

Re: [EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Tom Donovan
Matthias Kellermann wrote: Hi list, I've got some troubles setting up authentication via DBD with a MySQL database and passwords crypted with MD5. My setup (Gentoo Linux): Apache 2.2.8 apr 1.2.11 apr-util 1.2.10 MySQL 5.0.54 ... So the MySQL connection works, but something with the MD5 pas

Re: [EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Joshua Slive
On Mon, Feb 25, 2008 at 7:12 PM, Res <[EMAIL PROTECTED]> wrote: > On Mon, 25 Feb 2008, Matthias Kellermann wrote: > > > I've got some troubles setting up authentication via DBD with a MySQL > > database and passwords crypted with MD5. > > > > > > So the MySQL connection works, but something with

Re: [EMAIL PROTECTED] Problem with mod_deflate and IE6 javascript caching

2008-02-25 Thread yary
Transfer encoding requires content negotioation, so maybe this will help: http://httpd.apache.org/docs/2.0/content-negotiation.html#caching - The official User-To-User support forum of the Apache HTTP Server Project. See http://ht

Re: [EMAIL PROTECTED] Problem with mod_deflate and IE6 javascript caching

2008-02-25 Thread David Cassidy
How are you testing that this is working correctly ? Are you using wget with the --header="Accept-Encoding: gzip" to test it ? D On Mon, 2008-02-25 at 09:46 -0500, Joshua Slive wrote: > 2008/2/25 Yuan HOng <[EMAIL PROTECTED]>: > > Hi, list, > > > > I have a large javascript file which I want

Re: [EMAIL PROTECTED] Trouble using mod_proxy with mod_gnutls

2008-02-25 Thread Guillaume Rousse
Guillaume Rousse a écrit : > Hello list. > > With the following configuration, mod_proxy works perfectly in the > non-ssl vhost, but not in the ssl one. The client hangs a long > time for an answer, which finally comes as "Site error" message, with a > "404 858" error status in the logs. The waiti

[EMAIL PROTECTED] mod_proxy delay detecting application restart

2008-02-25 Thread Andrus Adamchik
Using HTTPD 2.0.x on OS X and Linux, with mod_proxy setup as a frontend for a dozen of Java applications (Jetty server instances more specifically) running on the same machine as HTTPD. mod_proxy config for each Java instance looks similar to this: ProxyPass /myapp/ http://localhost:8105

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

2008-02-25 Thread pthyseba
Hello, We're having some strange problems with our webservers (https), which are Apache 2.0.52 on RHEL4 and 2.0.46 on RHEL 3. The problem is that, under a certain load or after a while, the number of connections to one of the webservers stuck in the "W" state (as indicate by server-status?notabl

[EMAIL PROTECTED] mod_authn_dbd, MySQL and MD5 passwords

2008-02-25 Thread Matthias Kellermann
Hi list, I've got some troubles setting up authentication via DBD with a MySQL database and passwords crypted with MD5. My setup (Gentoo Linux): Apache 2.2.8 apr 1.2.11 apr-util 1.2.10 MySQL 5.0.54 My configuration: DBDriver mysql DBDParams "host=192.168.0.x dbname=auth user=auth pass=" D

Re: [EMAIL PROTECTED] Problem with mod_deflate and IE6 javascript caching

2008-02-25 Thread Joshua Slive
2008/2/25 Yuan HOng <[EMAIL PROTECTED]>: > Hi, list, > > I have a large javascript file which I want to send to IE6 gziped and > for IE6 to cache. > > I set the following derective in the configuration file: > > AddOutputFilterByType DEFLATE application/x-javascript > > The result is but that

Re: [EMAIL PROTECTED] Question on permissions

2008-02-25 Thread Joshua Slive
On Mon, Feb 25, 2008 at 12:59 AM, Richard Geddes <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using apache 2.2 on Ubuntu 7.10 setting up name-based virtual > hosting . The apache servers servicing requests run as www-data. > > The idea is to allow users to make their own websites under their hom

Re: [EMAIL PROTECTED] Multiple VirtualHosts with the same name

2008-02-25 Thread Matus UHLAR - fantomas
> >> >> Listen 80 > >> >> NameVirtualHost *:80 > >> >> > >> >> > >> >> HostName www.myhostname.com > >> >> ... > >> >> > >> >> > >> >> > >> >> > >> >> HostName www.myhostname.com > >> >> ... > >> >> > >> >> > >> >> > >> >> > >> >> HostName www.someotherhostname.com > >> >> >

Re: [EMAIL PROTECTED] ldap/ AD user authentication error

2008-02-25 Thread Krist van Besien
On Mon, Feb 25, 2008 at 5:06 AM, Chris <[EMAIL PROTECTED]> wrote: > I did a tcpdump and can see packets going to the AD end but nothing is > coming back. Have you checked if you can use the AD server? Try authenticating against it using an ldap command line client. > AuthName "Test" > AuthTyp

Re: [EMAIL PROTECTED] strategies for authentication/authorization in a virtual hosting environment

2008-02-25 Thread Matus UHLAR - fantomas
On 19.02.08 08:10, Chris Stromsoe wrote: > I'd like to be able offer basic authentication, with per-vhost user and > group files. All user access to the filesystem is via ftp, chrooted to a > "home" directory, that lives inside a multi-level set of hashed > subdirectories. We have the same con

[EMAIL PROTECTED] Getting errors in MPM=event

2008-02-25 Thread Arnab Ganguly
Hi All, I am getting the following error when I start my apache with MPM=event. "[crit] (70023)This function has not been implemented on this platform: Couldn't create a Thread Safe Pollset. Is it supported on your platform?". Just to update you my kernel release is 2.4.21-47.ELhugemem and Red-hat

[EMAIL PROTECTED] Trouble using mod_proxy with mod_gnutls

2008-02-25 Thread Guillaume Rousse
Hello list. With the following configuration, mod_proxy works perfectly in the non-ssl vhost, but not in the ssl one. The client hangs a long time for an answer, which finally comes as "Site error" message, with a "404 858" error status in the logs. The waiting time before the error occurs is supe

Re: [EMAIL PROTECTED] Streamlining Apache Modules

2008-02-25 Thread Andrew Dixon
Hi Christian, > You approach is valid, however it would be even better if you > start out with no module and then add them one after the > other until the site works as expected. This is exactly what I did, I remove all modules and then added them back in one by one until the Apache server wou

Re: [EMAIL PROTECTED] Reverse proxy security risks

2008-02-25 Thread Pedro Stavrinides
Its essential to proxy to Tomcat on the internal network only, you can also configure Tomcat to accept requests only from specific servers (i.e. your front end), and use a connector like mod_jk, and disable the other connectors. On Wed, Jan 23, 2008 at 1:40 PM, Christian Folini <[EMAIL PROTECTED]>