[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Certificat apache2 mod_proxy https



J'essai de suivre le tuto : http://nawer.freecontrib.org/index.php?2006/05

Pour pouvoir acceder a un ssh depuis un navigateur.

Téléchargement + lancement de l'appli OK
Ca tourne bien enlocalhost:8022

J'active les modules d'apache qui vont bien OK
Je modifie les fichiers d'apache2 pour pouvoir me connecter a
https://monsite.org:443

J'y vais avec firefox et là il me parle du certificat OK
Puis paf erreur 403 :(

Access forbidden!

You don't have permission to access the requested directory. There is either
no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.
Error 403

Je ne vois pas d'ou ça peut venir !


Mon fichier /etc/apache2/sites-available/ssl :

NameVirtualHost *:443
<VirtualHost *:443>
  ServerName localhost
  SSLEngine On
  SSLCertificateKeyFile /etc/ssl/certs/apache.pem
  SSLCertificateFile /etc/ssl/certs/apache.pem
  ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>
  ProxyPass /ajaxterm/ http://localhost:8022/
  ProxyPassReverse /ajaxterm/ http://localhost:8022/
</VirtualHost>

Le 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
                Deny from all
                Allow from localhost
        </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
</IfModule>



Walou :s



Reply to: