Martin,

Don't think that that'll work. Apache will report a config error
because you cant use ProxyPass <path> <url> in a Location block, only
ProxyPass <url>

You probably want
ProxyPassReverse http://numsum.com/numsum
if you wish to have a header
Location: http://numsum.com/numsum/people
in a redirect.

Spil

On 27/10/06, Jack Saunders <[EMAIL PROTECTED]> wrote:
Change this line
ProxyPass http://numsum.com/

To this
ProxyPass / http://numsum.com/

Everything else looks good.

Hope this helps!
Jack

On 10/25/06, Didier PH Martin <[EMAIL PROTECTED]> wrote:
> Hello
>
> My Apache version is: 2.2.3 installed from the apache friend package for
> windows. The server is running on a window XP home version (SP2) with all
> the latest updates.
>
> The config is as follow:
> ....
> LoadModule proxy_module modules/mod_proxy.so
> LoadModule proxy_http_module modules/mod_proxy_http.so
> LoadModule ssl_module modules/mod_ssl.so
> LoadModule proxy_html_module modules/mod_proxy_html.so
>
> <IfModule proxy_module>
>     ProxyRequests Off
>     SSLProxyEngine On
>
>   <Location /numsum/>
>       #ProxyPassReverse http://numsum.com/
>       ProxyPass http://numsum.com/
>         SetOutputFilter  proxy-html
>         ProxyHTMLURLMap  /      /numsum/
>         ProxyHTMLURLMap  /numsum        /numsum
>         RequestHeader    unset  Accept-Encoding
>     </Location>
> </IfModule>
> ....
>
> The sequence is as follow:
> Note: (... represent the rest of the URL)
> Get a login page from numsum with htpp://localhost/numsum/....
> Fill the form and do a post to http://localhost/numsum/....
> The reply from the post to a 302 redirect
>
> Here is the problem:
> If I set the "proxyPassReverse" header as above (by removing the comment #)
> then the "location" header in the post reply is et by apache to:
> http://localhost/people/.... instead of http://localhost/numsum/people/....
> Even more strange. If I comment (placing a # in front of the directive) the
> proxyPassReverse disrective I still get the same "location" set to
> http://localhost/people/.... instead of http://numsum.com/people/....
> So, whatever I do, I get the same "location" header's value.
>
> I am really puzzled by what is causing that. The behavior is not as expected
> or as stated in the documentation.
>
> Any idea of what could be wrong?
>
> Many thanks in advance for your help
>
> Didier PH Martin
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to