[us...@httpd] How to combine multiple set-cookie headers into one?

2009-01-01 Thread anson ho
How can I combine multiple set-cookie headers into one header? I have tried mod_headers.so but no success. Below is what I have done. Header append Set-Cookie ^key1 Header append Set-Cookie ^key2 Please advise.

[us...@httpd] Exclude subdirectory from LDAP Authentication

2009-01-01 Thread David Förster
Hi there, I configured a virtual host to authenticate users via ldap, which works fine. Now I want to exclude a subdirectory from that, so it's accessible without any authentication. I did this before with normal file based authentication but with ldap I can't get it working, no matter what I try

[us...@httpd] Re: Basic Config File Question

2009-01-01 Thread Dan Poirier
Look at the last example in this doc section: http://httpd.apache.org/docs/2.2/howto/access.html#host - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for mo

Re: [us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread André Warnier
André Warnier wrote: (*) For example, could I spare the and ProxyPass entirely, and use a RewriteRule to forward this directy to the ajp port, a bit like : RewriteRule ^/(xyz/.*/servlet\.[^\.]+)$ ajp://localhost:8009/$1 [PT] ? Replying to my own post here. Sorry, I went back to the doc, a

Re: [us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread André Warnier
Eric Covener wrote: On Thu, Jan 1, 2009 at 7:47 AM, André Warnier wrote: RewriteCond %{REQUEST_URI} !/servlet\.[^\.]+$ RewriteRule ^/xyz/(.*)$ /$1 [PT] ProxyPass ajp://localhost:8009 File "/srv/www/star1/docs/xyz/" not found. Are there any other rewrites that actually apply to the servl

Re: [us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread Eric Covener
On Thu, Jan 1, 2009 at 7:47 AM, André Warnier wrote: > RewriteCond %{REQUEST_URI} !/servlet\.[^\.]+$ > RewriteRule ^/xyz/(.*)$ /$1 [PT] > > ProxyPass ajp://localhost:8009 > >File "/srv/www/star1/docs/xyz/" not found. Are there any other rewrites that actually apply to the servlet and don't us

[us...@httpd] convert from mod_jk to proxy_ajp

2009-01-01 Thread André Warnier
Hi. I am running into trouble when trying to change the configuration of an existing Apache2.2.3/Tomcat5.0 combination (on the same host), and replacing the current mod_jk connector by mod_proxy_ajp. I have never used mod_proxy before. This is the original configuration which works, using mo