Re: Certificat apache2 mod_proxy https

2007-02-25 Par sujet krusaf
Franck Joncourt wrote:

> a2enmod proxy_http

C'est bon ça marche merci !!!

Apparement j'avais pas tappé cette commande mais il me semblait l'avoir
fait ... J'ai des doutes.


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Certificat apache2 mod_proxy https

2007-02-25 Par sujet Franck Joncourt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

krusaf wrote:
> patrick dos santos wrote:
> 
>> Tu dois activer le support des modules http_proxy dans ta configuration
>> d'apache2
>> Dans le repertoire /etc/apache2/mods-enabled tu doit effecuter des liens
>> symboliques vers le modules que tu souhaite activer
>>
>> exemple :
>> ls /etc/apache2/mods-enabled
>> lrwxrwxrwx 1 root root   43 2007-01-02 13:53 proxy_http.load ->
>> /etc/apache2/mods-available/proxy_http.load
>> lrwxrwxrwx 1 root root   38 2007-01-02 12:40 proxy.load ->
>> /etc/apache2/mods-available/proxy.load
>>
>> En esper ant que cela puisse t'aider
>>   
> 

Je pense qu'il vaut mieux activer les modules apache2 via la commande
a2enmod.

# a2enmod proxy_http

se debrouille tres bien tout seul pour gerer le module proxy_http et au
passage proxy. Au moins tu n'oublies rien :) et c'est plus simple que de
le faire manuellement.

- --
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF  9A3C C490 534E 75C0 89FE
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4YRkxJBTTnXAif4RAmjKAJ9QQdbA9gFIO81E8WlaQGCQiQjzSgCfRXBG
6uFG0Xhvp75oqjokrfH+4Lw=
=+TYJ
-END PGP SIGNATURE-


___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Certificat apache2 mod_proxy https

2007-02-25 Par sujet krusaf
patrick dos santos wrote:

> Tu dois activer le support des modules http_proxy dans ta configuration
> d'apache2
> Dans le repertoire /etc/apache2/mods-enabled tu doit effecuter des liens
> symboliques vers le modules que tu souhaite activer
> 
> exemple :
> ls /etc/apache2/mods-enabled
> lrwxrwxrwx 1 root root   43 2007-01-02 13:53 proxy_http.load ->
> /etc/apache2/mods-available/proxy_http.load
> lrwxrwxrwx 1 root root   38 2007-01-02 12:40 proxy.load ->
> /etc/apache2/mods-available/proxy.load
> 
> En esper ant que cela puisse t'aider
>   


C'était déjà ok de ce côté là


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Certificat apache2 mod_proxy https

2007-02-24 Par sujet patrick dos santos
Tu dois activer le support des modules http_proxy dans ta configuration 
d'apache2
Dans le repertoire /etc/apache2/mods-enabled tu doit effecuter des liens 
symboliques vers le modules que tu souhaite activer


exemple :
ls /etc/apache2/mods-enabled
lrwxrwxrwx 1 root root   43 2007-01-02 13:53 proxy_http.load -> 
/etc/apache2/mods-available/proxy_http.load
lrwxrwxrwx 1 root root   38 2007-01-02 12:40 proxy.load -> 
/etc/apache2/mods-available/proxy.load


En esper ant que cela puisse t'aider
 
Franck Joncourt wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
s
krusaf wrote:
  

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

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





Cette fois si c'est bon, normalement ! D'apres ce que j'ai trouve il
faut mettre un "/" a la fin de ton url comme mentionne au dessus.

http://smhteam.info/wiki/index.linux.php5?wiki=AjaxTerm

Dans les commentaires quelqu'un avait un probleme de ce genre la.

Est ce bien la source du probleme ?


- --
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF  9A3C C490 534E 75C0 89FE
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4HNMxJBTTnXAif4RAofmAJ9H4Yt/93+fYUw+Mpgogyuv8Ovw2ACfUKTu
eZJP7phlat7Pl3flSTRwYEo=
=So6Z
-END PGP SIGNATURE-


___ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" � The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html



  



--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et

"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Certificat apache2 mod_proxy https

2007-02-24 Par sujet Franck Joncourt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

krusaf wrote:
> 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
> 
>   ServerName localhost
>   SSLEngine On
>   SSLCertificateKeyFile /etc/ssl/certs/apache.pem
>   SSLCertificateFile /etc/ssl/certs/apache.pem
>   ProxyRequests Off
>   
> Order deny,allow
> Allow from all
>   
>   ProxyPass /ajaxterm/ http://localhost:8022/
>   ProxyPassReverse /ajaxterm/ http://localhost:8022/
> 
> 

Cette fois si c'est bon, normalement ! D'apres ce que j'ai trouve il
faut mettre un "/" a la fin de ton url comme mentionne au dessus.

http://smhteam.info/wiki/index.linux.php5?wiki=AjaxTerm

Dans les commentaires quelqu'un avait un probleme de ce genre la.

Est ce bien la source du probleme ?


- --
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF  9A3C C490 534E 75C0 89FE
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4HNMxJBTTnXAif4RAofmAJ9H4Yt/93+fYUw+Mpgogyuv8Ovw2ACfUKTu
eZJP7phlat7Pl3flSTRwYEo=
=So6Z
-END PGP SIGNATURE-


___ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" � The 
Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Certificat apache2 mod_proxy https

2007-02-24 Par sujet Franck Joncourt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

krusaf wrote:
> 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 !
> 
> 

J'ai lu trop vite et mon dernier mail est une betise. Oups !

- --
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF  9A3C C490 534E 75C0 89FE
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4HCnxJBTTnXAif4RAua4AKCof9x4F6hJYYYLfUfqTjbtui9hsQCdHckd
J62o2iMUQbVcJ7H20t8aOi8=
=pRcd
-END PGP SIGNATURE-


___ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" � The 
Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Certificat apache2 mod_proxy https

2007-02-24 Par sujet Serge Cavailles
Le Samedi 24 Février 2007 17:40, krusaf a écrit :
> 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.

Il ne faudrait pas ajouter le user ssh au groupe www-data ?

mes 2 cts
-- 
Serge




Re: Certificat apache2 mod_proxy https

2007-02-24 Par sujet Franck Joncourt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

krusaf wrote:
> 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 :
> 
>   ProxyPass /ajaxterm/ http://localhost:8022/
>   ProxyPassReverse /ajaxterm/ http://localhost:8022/

Faudrait pas par hasard modifier les lignes prescedentes pour le port 443 ?

- --
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF  9A3C C490 534E 75C0 89FE
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4G9IxJBTTnXAif4RAg7lAKDWLJn+JMumww+T8bbMg3eXmBpLpgCgrHbZ
O7TvzSoTqpzS4jmPEGxwBf4=
=sNqw
-END PGP SIGNATURE-


___ 
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy 
and free. http://uk.docs.yahoo.com/trueswitch2.html


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Certificat apache2 mod_proxy https

2007-02-24 Par sujet krusaf
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

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


Le proxy.conf :


#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.

ProxyRequests Off


AddDefaultCharset off
Order deny,allow
Deny from all
Allow from localhost


# 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




Walou :s


-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench   
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]