Re: redirect to https

"James Blond" <[email protected]> Wed, 1 Nov 2006 14:06:25 +0100
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
A full working solution which also rewrite the links (need mod_ptoxy_html)

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.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 proxy_html_module modules/mod_proxy_html.so
LoadFile   /server2/apache/bin/libxml2.so

ProxyRequests Off
<Proxy *>

Order deny,allow
Allow from all

</Proxy>


ProxyPass /bigwig http://192.168.0.8/bigwig/
ProxyPassReverse /bigwig http://192.168.0.8/bigwig/
ProxyHTMLURLMap http://192.168.0.8/bigwig/ /bigwig

<Location /bigwig>
ProxyPassReverse /
   SetOutputFilter    proxy-html
   ProxyHTMLURLMap    /   /bigwig/
   ProxyHTMLURLMap    /bigwig   /bigwig
   RequestHeader     unset   Accept-Encoding
</Location>

greets
Mario

On 11/1/06, Roel Bindels <[email protected]> wrote:
> James Blond wrote:
> > Hello!
> > Did you load mod_proxy_connect for SSL connection?
> >
>
> No I did not had this module loaded. But after loading this the result
> still is Bad Request.
>
> More Ideas????
>
> greetings
> Roel
>
> >
> >> Bad Request
> >> Your browser sent a request that this server could not understand.
> >
> >>   ProxyPass / https://10.0.0.108:8333/
> >>   ProxyPassReverse / https://10.0.0.108:8333/
> >
> >
> > greets
> > Mario
> >
>
>