I'm having a problem with getting ProxyPass and SSL to work. I followed the How-to on Using Apache with ZServer, and unfo's How-To on Apache+ZServer+SSL. And my setup is nearly identical to the one listed on the howto. I have my main site in the root of my Zope Setup, and My SSL site is in a subdirectory of the root called SecureSite. After setting up the ProxyPass Directives in Apache (I have the httpd.conf section attached below) and Adding the SiteRoot objects on Zope I can access the main Site at http://mysite.org, but if I try to access https://mysite.org my web browser hangs until it times out. Also, it becomes impossible to browse the SecureSite Folder unless I delete the SiteRoot Object. It appears to be some kind of Apache issue, however I can't figure out why it won't connect, the directives are almost identical to the ones on the Howto. Any Suggestions ?? ---- Snippet from httpd.conf ------- NameVirtualHost 206.171.167.101:80 <VirtualHost 206.171.167.101:80> ServerAdmin dbaker@chw.edu ServerName mysite.org ProxyPass / http://mysite.org:8080/ ProxyPassReverse / http://mysite.org:8080/ ProxyPass /misc_ http://mysite.org:8080/misc_ ProxyPass /p_ http://mysite.org:8080/p_ </VirtualHost> NameVirtualHost 206.171.167.101:443 <VirtualHost 206.171.167.101:443> ServerAdmin dbaker@chw.edu ServerName mysite.org ProxyPass / http://mysite.org:8080/SecureSite/ ProxyPassReverse / http://mysite.org:8080/SecureSite/ ProxyPass /misc_ http://mysite.org:8080/misc_ ProxyPass /p_ http://mysite.org:8080/p_ </VirtualHost> ---- End Snippet ---- Dennis Baker Information Systems Manager, St. Joseph's Medical Resources
Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags" so it tries to interpreting it rather than only showing them. Thank you, Nestor A. Diaz L. nestor@tiendalinux.com PGP Public Key `wget http://www.tiendalinux.com/pgp/nestor.pgp` ---------------------------------------------------------------- Visita http://www.tiendalinux.com la tienda virtual de Productos y Servicios para los usuarios de Linux en Colombia ************* Aprobado Credibanco VISA **************
"Nestor A. Diaz L." wrote:
Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags" so it tries to interpreting it rather than only showing them.
try this <pre> <dtml-var "_.str(your_code_sample"> <pre> --------------- Hannu
----- Original Message ----- From: Nestor A. Diaz L. <nestor@tiendalinux.com> Cc: <zope@zope.org> Sent: Monday, June 26, 2000 7:47 PM Subject: [Zope] How-to Bypass DTML Code?
Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags" so it tries to interpreting it rather than only showing them.
One way: Replace `< ' with `<' and '>' with '>' <HTML> <BODY> <dtml-var aVar> <BODY> </HTML> PM
+----[ Nestor A. Diaz L. ]--------------------------------------------- | Hi, anyone know how to bypass the dtml-code, that's because i'm writing a | howto with showing the use of some "dtml-tags" so it tries to interpreting | it rather than only showing them. | It's easy:- Make a method called printCode which contains one line: <dtml-return "CodeToPrint"> Then to display a method or a document:- <dtml-var "printCode(CodeToPrint=standard_html_header)"> Will print your standard_html_header, you will probably want <dtml-var "printCode(CodeToPrint=standard_html_header)" newline_to_br> The advantage of this, is that you can use actual methods (if you're doing a tutorial). So when you change the method, your documentation updates itself. If you just want to pass strings into printCode, you can do that too. <dtml-var "printCode(CodeToPrint='<dtml-var FunnyVar>')"> -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
On Mon, 26 Jun 2000, Nestor A. Diaz L. wrote:
Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags" so it tries to interpreting it rather than only showing them.
<dtml-var "''' <p>Here is some raw code that will be quoted for you by Zope <dtml-var standard_html_header> '''" html_quote> -- Stuart Bishop Work: zen@cs.rmit.edu.au Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au Computer Science, RMIT University
i dont know much about ssl but wouldn't you want to pass / --> https:// instead of / --> http:// ? but then again i dont know a thing about ssl... peter On Mon, 26 Jun 2000, Baker, Dennis [sjmr] wrote: :I'm having a problem with getting ProxyPass and SSL to work. I followed the :How-to on Using Apache with ZServer, and unfo's How-To on :Apache+ZServer+SSL. And my setup is nearly identical to the one listed on :the howto. I have my main site in the root of my Zope Setup, and My SSL :site is in a subdirectory of the root called SecureSite. : :After setting up the ProxyPass Directives in Apache (I have the httpd.conf :section attached below) and Adding the SiteRoot objects on Zope I can access :the main Site at http://mysite.org, but if I try to access :https://mysite.org my web browser hangs until it times out. Also, it :becomes impossible to browse the SecureSite Folder unless I delete the :SiteRoot Object. : :It appears to be some kind of Apache issue, however I can't figure out why :it won't connect, the directives are almost identical to the ones on the :Howto. Any Suggestions ?? : :---- Snippet from httpd.conf ------- :NameVirtualHost 206.171.167.101:80 : :<VirtualHost 206.171.167.101:80> : ServerAdmin dbaker@chw.edu : ServerName mysite.org : ProxyPass / http://mysite.org:8080/ : ProxyPassReverse / http://mysite.org:8080/ : ProxyPass /misc_ http://mysite.org:8080/misc_ : ProxyPass /p_ http://mysite.org:8080/p_ :</VirtualHost> : :NameVirtualHost 206.171.167.101:443 : :<VirtualHost 206.171.167.101:443> : ServerAdmin dbaker@chw.edu : ServerName mysite.org : ProxyPass / http://mysite.org:8080/SecureSite/ : ProxyPassReverse / http://mysite.org:8080/SecureSite/ : ProxyPass /misc_ http://mysite.org:8080/misc_ : ProxyPass /p_ http://mysite.org:8080/p_ :</VirtualHost> : :---- End Snippet ---- : :Dennis Baker :Information Systems Manager, St. Joseph's Medical Resources : : :_______________________________________________ :Zope maillist - Zope@zope.org :http://lists.zope.org/mailman/listinfo/zope :** No cross posts or HTML encoding! ** :(Related lists - : http://lists.zope.org/mailman/listinfo/zope-announce : http://lists.zope.org/mailman/listinfo/zope-dev ) : -- _________________________________________________ peter sabaini, mailto: sabaini@niil.at -------------------------------------------------
participants (7)
-
Andrew Kenneth Milton -
Baker, Dennis [sjmr] -
Hannu Krosing -
Marcel Preda -
Nestor A. Diaz L. -
Peter Sabaini -
Stuart Bishop