Mon fichier de configuration /etc/apache2/mods-enabled/proxy.conf

<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off

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

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On
        ProxyPass /motion/live/1 http://localhost:8001
        ProxyPass /motion/live/2 http://localhost:8002

</IfModule>
Publicité
Pour être informé des derniers articles, inscrivez vous :