Using motion

From XPUB & Lens-Based wiki
Revision as of 14:25, 25 November 2013 by Michael Murtaugh (talk | contribs)

Setting up an Apache Reverse Proxy to your motion webcam

Installing apache on a pi:

apt-get install apache2


   <VirtualHost *:80>
   # ... all the normal stuff
   # ADD THESE TWO LINES... make sure the port numbers match motion's settings
   ProxyPass /w http://localhost:8000
   ProxyPass /c http://localhost:8080
   </VirtualHost>

To enable reverse proxies in Apache

a2enmod proxy proxy_http