[Zope] Basic problem with zope behind apache: no images, no frames, etc.

Giuseppe Bonelli giuseppe.bonelli at tiscalinet.it
Thu Dec 16 10:04:48 EST 2004


Are you using absolute urls in all your DTML/python scripts ...?

... and try this rewrite rule:
^/manage(*) .....

Hope this helps
__peppo

> -----Original Message-----
> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org]On Behalf Of
> roger baig vinas
> Sent: mercoledi 15 dicembre 2004 12.19
> To: zope at zope.org
> Subject: [Zope] Basic problem with zope behind apache: no images, no
> frames,etc.
>
>
> Hello,
>
> I'm trying to set up a zope server behind an already existing and
> working fine apache on a debian/woody box with no X system installed.
> When I try say http://IPbox/manage I just get the skeleton of
> the page
> that it's suppossed to be forwarded and nothing else (no images, no
> contents, no etc.)
>
> I tryed both ProxyPass and RewriteRule at http.d with the
> same results:
>
> RewriteRule ^/(manage)\
>
> http://localhost:9673/manage/VirtualHostBase/http/213.73.38.11
> 0:80/manage/VirtualHostRoot/$1\
>   [L,P]
>
> ProxyPass /HelpSys http://localhost:9673/HelpSys
> ProxyPassReverse /HelpSys http://localhost:9673/HelpSys
>
> You can see the results at http://213.73.38.110/HelpSys or at
> http://213.73.38.110/HelpSys with user:admin passwd:zope_admin
>
> I've been readin a lot about VHM, and so forth, but now I
> don't know how
> to go on. Any help advice or suggestion will be apreciated.
>
> Thank you in advance
>
> ||/ Name                      Version                   Description
> +++-=========================-=========================-===========
> ii  zope                      2.5.1-1woody1             An
> Open Source
> Web Application Server
> ii  apache                    1.3.26-0woody6            Versatile,
> high-performance HTTP server
>
>
> httpd.conf (section):
>
> NameVirtualHost *
> <VirtualHost *>
>        <IfModule mod_proxy.c>
>     <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteLog "/var/log/apache/zope/rewrite.log"
> RewriteLogLevel 1
>
> #http://zope.org/Members/regebro/Zope_and_Apache
> #http://www.zope.it/Members/mickymouse/zope_to_apache2/view?se
> archterm=Virtual%20Host%20Monster
> ##RewriteRule ^/(.*)
> http://localhost:8080/VirtualHostBase/http/www.virtualdomain.c
om:80/www_virtualdomain_com/VirtualHostRoo
RewriteRule ^/(manage)\

http://localhost:9673/manage/VirtualHostBase/http/213.73.38.110:80/manag
e/VirtualHostRoot/$1\
  [L,P]

#doesn't work:
RewriteRule ^/(community)
http://localhost:9673/VirtualHostBase/http/213.73.38.110:80/community/Vi
rtualHostRoot/$1
[L,P]
RewriteRule ^/(HelpSys)
http://localhost:9673/HelpSys/VirtualHostBase/http/213.73.38.110:80/Help
Sys/VirtualHostRoot/$1
[L,P]

    </IfModule>
       </IfModule>
</VirtualHost>

ProxyPass /HelpSys http://localhost:9673/HelpSys
ProxyPassReverse /HelpSys http://localhost:9673/HelpSys

_______________________________________________
Zope maillist  -  Zope at zope.org
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 )



More information about the Zope mailing list