Reverse Proxy Apache2

Forum sur la sécurité des réseaux, la configuration des firewalls, la mise en place de protections contre les attaques, de DMZ, de systèmes anti-intrusion ...

Modérateur: modos Ixus

Reverse Proxy Apache2

Messagepar filip24 » 28 Juil 2008 12:38

Bonjour tous le monde

J'ai un petit probléme!

J'essaie de mettre en place un reverse proxy sur OWA mais ...ça marche pas! snif!

je me suis aidé de ce tuto :
http://www.om-conseil.com/sections.php?op=viewarticle&artid=58

J'ai modifié mon fichier de conf :

Code: Tout sélectionner

<VirtualHost *:80>
       ServerName webmail.xxx.fr
       DocumentRoot /var/www/exchange
   
RedirectMatch ^/(index.html?)$ https://webmail.xxx.fr/exchange/
       RedirectMatch ^/exchange$ https://webmail.xxx.fr/exchange/

</VirtualHost>



<VirtualHost *:443>

            ServerName webmail.xxx.fr

            SSLEngine on
            SSLProxyEngine on
           SSLCertificateFile /etc/apache2/ssl/apache.pem
            ProxyPreserveHost on

            RequestHeader set Front-End-Https "On"

            ProxyPass /exchange/ https://webmail.xxx.fr/exchange/
            ProxyPassReverse /exchange/ https://webmail.xxx.fr/exchange/
            ProxyPass /exchweb/ https://webmail.xxx.fr/exchweb/
            ProxyPassReverse /exchweb/ https://webmail.xxx.fr/exchweb/
            ProxyPass /public/ https://webmail.xxx.fr/public/
            ProxyPassReverse /public/ https://webmail.xxx.fr/public/
            ProxyPass /iisadmpwd/ https://webmail.xxx.fr/iisadmpwd/
            ProxyPassReverse /iisadmpwd/ https://webmail.xxx.fr/iisadmpwd/

            CacheDisable *
           
            DocumentRoot /var/www/

        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>

        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all

                # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the right place

                RedirectMatch ^/$ /apache2-default/
        </Directory>

         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
       </Directory>     

            ErrorLog /var/log/apache2/error.log

            # Possible values include: debug, info, notice, warn, error, crit,
            # alert, emerg.

            LogLevel warn

            CustomLog /var/log/apache2/access.log combined
            ServerSignature On

</VirtualHost>


Puis j'ai modifié le fichier Host...

Mais rien ne se passe!

Si vous avez une idée

Merci
filip24
Matelot
Matelot
 
Messages: 6
Inscrit le: 09 Août 2007 09:35

Retour vers Sécurité et réseaux

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 1 invité

cron