[Zope] Solution of Zope+ssl and httpd.conf
trashMan
trashman@httconsulting.com
Mon, 14 Apr 2003 19:55:40 +0200
I've found the solution!=20
In httpd.conf i'd=20
Listen 443
Listen 80
But the correct is
Listen 217.58.xxx.yyy:443
Listen 217.58.xxx.yyy:80
And the correct rewrite directive is
http://localhost:8080/VirtualHostBase/https/217.58.xxx.yyy:443/mysite.it
/VirtualHostRoot/$1 [L,P]
Thank you very much to AM, Dylan and Lennart.
Massimiliano
-----Messaggio originale-----
Da: AM [mailto:list_subscriber@neurobs.com]=20
Inviato: luned=EC 14 aprile 2003 19.04
A: trashMan
Cc: zope@zope.org; zope@dylanreinhardt.com
Oggetto: Re: R: [Zope] Zope+ssl and httpd.conf
try using the nameVirtualHost directive before each Virtualhost
directive:
NameVirtualHost 217.58.xxx.yyy:port
Also this:
http://localhost:8080/VirtualHostBase/http/217.58.xxx.yyy:443/mysyte.it/
should be
http://localhost:8080/VirtualHostBase/https/217.58.xxx.yyy:443/mysyte.it
/VirtualHostRoot/$1 [L,P]
The L should be in both directives so that further rewriting is
impossible. Though I dont see how that will change much.
HTH
AM
trashMan wrote:
>I've tried to add s to=20
>VirtualHostBase/http/217.58.xxx.yyy:443/mysyte.it/ and the port to=20
>VirtualHost without result. If i call http://www.mysyte/ i've not=20
>problem. If i call https://www.mysyte/ i've not answer
>
>:-(
>
>the httpd.conf now is:
>=20
><VirtualHost 217.58.xxx.yyy:80>
>CustomLog logs/mysyte-access_log combined
>ErrorLog logs/mysyte-error_log
>ServerName 217.58.xxx.yyy
>ServerAdmin admin
>RewriteEngine on
>RewriteRule ^/(.*)=20
>http://localhost:8080/VirtualHostBase/http/217.58.xxx.yyy:80/mysyte.it/
>V
>irtualHostRoot/$1 [P]
></VirtualHost>
>
><VirtualHost 217.58.xxx.yyy:443>
>SSLEngine On
>SSLCertificateFile conf/ssl/mysyte.cert
>SSLCertificateKeyFile conf/ssl/mysyte.key
>CustomLog logs/mysyte-s-access_log combined
>ErrorLog logs/mysyte-s-error_log
>ServerName 217.58.xxx.yyy
>ServerAdmin admin
>RewriteEngine on
>RewriteRule ^/(.*)=20
>http://localhost:8080/VirtualHostBase/http/217.58.xxx.yyy:443/mysyte.it
>/
>VirtualHostRoot/$1 [P]
></VirtualHost>
>
>Massimiliano
>-----Messaggio originale-----
>Da: Dylan Reinhardt [mailto:zope@dylanreinhardt.com]
>Inviato: sabato 12 aprile 2003 20.52
>A: trashMan
>Cc: zope@zope.org
>Oggetto: Re: [Zope] Zope+ssl and httpd.conf
>
>
>On Sat, 2003-04-12 at 08:19, trashMan wrote:
>
> =20
>
>><VirtualHost 217.58.xxx.yyy>
>> =20
>>
>
>No port? You only want this block matching *only* requests made to=20
>port 80, yes? Try adding that and see if that does the trick.
>
>You may have other issues, but those will only become apparent when=20
>you're sending the right stuff to the right places.
>
>HTH,
>
>Dylan
>
>
>_______________________________________________
>Zope maillist - Zope@zope.org=20
>http://mail.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
> =20
>
--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Aseem Mohanty =20
Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706=20
(R) 510 7696011 (M) 510 3014871 (O) 510 5279231 =09
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=09
"I saw `cout' being shifted "Hello world" times to the left and =20
stopped right there!!" -- Steve Gonedes =20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20