Reverse proxy settings crashing ML Server

I have a few IP cameras I'm attempting to expose externally via reverse proxy. I've created a site on my Mini ML Server and password protected it under a subdomain. This allows me to drop my own custom UI on the camera controls so they work better with my iPhone etc. It's working great on my laptops local virtual host. However, the reverse proxy settings seem to kill apache on the ML server. If I remove the lines in blue below, it seems to work, but i get double authentication requests. Anyone have any experience with this? My Apache knowledge is minimal at best 😟


ProxyRequests off

ProxyPass /camera1/ http://192.168.0.1/

ProxyPass /camera2/ http://192.168.0.2/

ProxyPass /camera3/ http://192.168.0.3/

ProxyHTMLURLMap http://192.168.0.1 /camera1

ProxyHTMLURLMap http://192.168.0.2 /camera2

ProxyHTMLURLMap http://192.168.0.3 /camera3

<Location /camera1/>

ProxyPassReverse /

ProxyHTMLEnable On

ProxyHTMLURLMap / /camera1/

RequestHeader unset Accept-Encoding

</Location>

<Location /camera2/>

ProxyPassReverse /

ProxyHTMLEnable On

ProxyHTMLURLMap / /camera2/

RequestHeader unset Accept-Encoding

</Location>

<Location /camera3/>

ProxyPassReverse /

ProxyHTMLEnable On

ProxyHTMLURLMap / /camera3/

RequestHeader unset Accept-Encoding

</Location>

Posted on Oct 7, 2012 5:07 PM

Reply
1 reply

Oct 14, 2012 8:21 AM in response to Brian S. Campbell

The following setup took care of my issue...


ProxyRequests off

ProxyPass /camera1/ http://192.168.0.30/

ProxyPass /camera2/ http://192.168.0.32/

ProxyPass /camera3/ http://192.168.0.34/

ProxyPass /camera4/ http://192.168.0.36/

ProxyPassReverse /camera1 http://192.168.0.30

ProxyPassReverse /camera2 http://192.168.0.32

ProxyPassReverse /camera3 http://192.168.0.34

ProxyPassReverse /camera4 http://192.168.0.36

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Reverse proxy settings crashing ML Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.