Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 45474 invoked from network); 3 Oct 2004 20:40:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Oct 2004 20:40:53 -0000 Received: (qmail 73100 invoked by uid 500); 3 Oct 2004 20:39:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 73085 invoked by uid 500); 3 Oct 2004 20:39:30 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 73072 invoked by uid 99); 3 Oct 2004 20:39:30 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_RCVD_HELO,FROM_STARTS_WITH_NUMS,NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [213.228.0.62] (HELO postfix4-1.free.fr) (213.228.0.62) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 03 Oct 2004 13:39:29 -0700 Received: from freesurf.fr (pauguste-13-82-227-98-1.fbx.proxad.net [82.227.98.1]) by postfix4-1.free.fr (Postfix) with ESMTP id 469D81F3169 for ; Sun, 3 Oct 2004 22:39:26 +0200 (CEST) Message-ID: <4160637D.10607@freesurf.fr> Date: Sun, 03 Oct 2004 22:39:25 +0200 From: 61cygni <61cygni@freesurf.fr> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: [users@httpd] unrecognized ProxyPassReverseCookiePath and ProxyPassReverseCookieDomain X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi everyone, I'm trying to configure Apache 2.0.52 as a reverse proxy. My Apache runs on Windows XP. I read the excellent note by Nick Kew in apacheweek 'Running a Reverse Proxy With Apache'. I applied everything that was in it (in particular, using mod_proxy_html 2.3 for URL rewriting). However I came across a problem with cookies. Cookies do not cross the reverse proxy, which leads to web application malfunction. I'm trying to use ProxyPassReverseCookiePath and ProxyPassReverseCookieDomain to correct this problem. I struggle with two issues: - first I don't know how to properly combine the XML tag alternative proposed by Nick Kew and the ProxyPassReverseCookiePath and ProxyPassReverseCookieDomain directives, which is not described in his article. - secondly, whether I include the directives in the Location tag or whether I leave them outside, I have a problem getting these directives recognized. Restarting Apache leads to error: Syntax error on line 988 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Invalid command 'ProxyPassReverseCookiePath', perhaps mis-spelled or defined by a module not included in the server configuration. I would be most grateful if someone could give me some hints as to the reason for this symptom. Bruno Additional information (extracts from my httpd.conf file): #Active modules: LoadModule access_module modules/mod_access.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule asis_module modules/mod_asis.so LoadModule auth_module modules/mod_auth.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cgi_module modules/mod_cgi.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule headers_module modules/mod_headers.so LoadModule imap_module modules/mod_imap.so LoadModule include_module modules/mod_include.so LoadModule isapi_module modules/mod_isapi.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule userdir_module modules/mod_userdir.so LoadModule usertrack_module modules/mod_usertrack.so LoadModule deflate_module modules/mod_deflate.so LoadFile C:\Installation\Tools\apache_tools\zlib-1.2.1.win32\bin\zlib1.dll LoadFile C:\Installation\Tools\apache_tools\iconv-1.9.1.win32\lib\iconv.dll LoadFile C:\Installation\Tools\apache_tools\libxml2-2.6.13.win32\bin\libxml2.dll LoadModule proxy_html_module modules/mod_proxy_html.so #reverse proxy parameters ProxyRequests Off ProxyPass /test/ http://127.0.0.1:8085/ ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /test/ ProxyHTMLURLMap /test /test ProxyHTMLExtended Off RequestHeader unset Accept-Encoding # the following is unrecognised #ProxyPassReverseCookiePath / # the following two lines are unrecognised #ProxyPassReverseCookieDomain 127.0.0.1:8085 #ProxyPassReverseCookiePath / /test/ ProxyPass /tools/ http://127.0.0.1:9000/ ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /tools/ ProxyHTMLURLMap /tools /tools ProxyHTMLExtended Off RequestHeader unset Accept-Encoding --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org