| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 
 | <VirtualHost *:80>
        ServerAdmin 
        ServerName @ip reverse
        ServerSignature ON
        ProxyPreserveHost On
        ProxyRequests Off
 
        SetEnv force-proxy-request-1.0 1
        SetEnv proxy-nokeepalive 1
        ProxyTimeout 600
        ProxyVia On
        <Proxy *>
                Order allow,deny
                Allow from all
 
 
 
       </Proxy>
 
        ProxyPreservehost on
        ProxyPass / http://www.toto.fr/
        ProxyPassReverse / http://www.toto.fr/
        <Location />
 
 
                Order deny,allow
                Allow from all
 
                # Ajoute un filtre
                SetOutputFilter DEFLATE
                BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
                # Ne pas compresser les images
                SetEnvIfNoCase Request_URI \
                \.(?:gif|jpe?g|png)$ no-gzip dont-vary
                Header append Vary User-Agent env=!dont-vary
 
        </Location>
        LogLevel debug
        ErrorLog /var/log/apache2/reverse_proxy
        CustomLog /var/log/apache2/reverse_proxy
</VirtualHost> | 
Partager