Re: ProxyPass without slash not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Missing ProxyPassReverse.

On Wed, Oct 9, 2013 at 8:28 AM, Tiago Braga <tbragamachado@xxxxxxxxx> 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
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux