apache - ProxyPass Failing -
i have new rasperrypi webserver running raspbian i'm trying utilize proxy web-enabled device fieldserver tech (fieldserver.com) on our intranet. within /etc/apache2/sites-available/default i've added next line:
<location /modbus/> proxypass http://192.168.10.124/ </location> after restarting webserver when seek browse defined proxy address
http://192.168.10.7/modbus/ i password prompt fieldserver device after authenticating error indicating initial page cannot loaded:
not found requested url /app/profiles/profiles.htm not found on server. apache/2.2.22 (debian) server @ 192.168.10.7 port 80 is there way can address problem apache conf or problem fieldserver device?
more scheme info:
$ cat /etc/os-release* pretty_name="raspbian gnu/linux 7 (wheezy)" name="raspbian gnu/linux" version_id="7" version="7 (wheezy)" id=raspbian $ dpkg-query -l | grep apache ii apache2 2.2.22-13+deb7u3
i believe need add together proxypassreverse directive apache configuration:
<location /modbus/> proxypass http://192.168.10.124/ proxypassreverse http://192.168.10.124/ </location> this answer has pretty concise explanation on proxypassreverse does, if you're curious.
apache proxy mod-proxy raspbian
No comments:
Post a Comment