Tiago, Did you try by setting ProxyRequest to off?.As per Apache doc,The ProxyRequests<http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyrequests> directive should usually be set *off* when using ProxyPass.
Thx On Wed, Oct 9, 2013 at 6:08 PM, Tiago Braga <tbragamach...@gmail.com> wrote: > Hello Eric, > > It not works too. > > ProxyPass / http://static.host.com.br/html/directory/ > ProxyPassReverse / http://static.host.com.br/html/directory/ > > Thanks! > > > On Wed, Oct 9, 2013 at 9:34 AM, Eric Covener <cove...@gmail.com> wrote: > >> Missing ProxyPassReverse. >> >> On Wed, Oct 9, 2013 at 8:28 AM, Tiago Braga <tbragamach...@gmail.com> >> wrote: >> > Hello! >> > >> > I'm using the httpd Apache/2.2.15 in Linux RedHat with mod_proxy. >> > >> > I have the below configuration: >> > >> > <VirtualHost *:80> >> > ServerName www.host.com.br >> > ProxyPass / http://static.host.com.br/html/directory/ >> > </VirtualHost> >> > >> > When the url is: www.host.com.br/test/ >> > It's works. >> > >> > When the url is: www.host.com.br/test >> > It's not works with the message in the log bellow: >> > >> > 127.0.0.1 - - [08/Oct/2013:18:14:28 -0300] "GET /test HTTP/1.1" 302 301 >> "-" >> > "lwp-request/5.827 libwww-perl/5.833" >> > 127.0.0.1 - - [08/Oct/2013:18:14:28 -0300] "GET /html/directory/test/ >> > HTTP/1.1" 404 594 "-" "lwp-request/5.827 libwww-perl/5.833" >> > >> > Why? >> > >> > >> > >> > -- >> > Atenciosamente, >> > Tiago Braga Machado >> > >> > >> > >> > -- >> > Atenciosamente, >> > Tiago Braga Machado >> >> >> >> -- >> Eric Covener >> cove...@gmail.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> >> > > > -- > Atenciosamente, > Tiago Braga Machado >