ProxyPassReverse breaks javascript

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

 



I am an Apache novice trying to configure a reverse proxy.  It now works
(after loading mod-proxy-http) but the site I really want to use has a
lot of javascript which is being mis-loaded.

My httpd.conf configuration look like this:

<IfModule proxy_module>
    ProxyRequests Off

    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>

    ProxyPass /foo http://192.168.1.1/
    ProxyPassReverse /foo http://192.168.1.1/

</IfModule>

When I access http://myserver.org/foo I get a blank page and a lot of
javascript errors.  Here is one of the error.log lines:

[Sat Sep 15 18:39:54 2007] [error] [client 127.0.0.1] File does not
exist: D:/Flory/Sites/flory/theflorys/index.js, referer:
http://localhost:8080/foo

It seems to be looking for the javascrpt in my web root not the remote
proxy location.


David Flory


---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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