[Zope] Issue using Apache 2 behind Zope2.7 and Virtual Host

Rodrigo Dias Arruda Senra rodsenra at gpr.com.br
Tue Oct 19 09:37:13 EDT 2004


[ ALAUZET Patrice SZSIC35 - BOM <Patrice.ALAUZET at interieur.gouv.fr> ]:
--------------------------------------------------------
| > Hello to you all
> 
> I try to use Zope 2.7.x behind Apache 2.0.x under Linux (kernel 2.6.x) -
> Mandrake 10 .

I have an Apache 2.0.50 + Linux 2.6.3 + Mdk 10 + Zope 2.7.2 working
fine, so it is probably not a compatibility problem.
Sounds like a configuration glitch.

> Zope works fine alone : ip 192.168.1.1 on port 8090/myzopeinstance
> Apache works fine alone : ip 192.168.1.1 on port 80
> I've create under Linux other IP addresses (i.e. 192.168.1.10) on the same
> NIC and all works fine.

You might need this for other purposes, because it is not necessary for
running Apache+Zope.

> I want to call the virtual IP adress 192.168.1.10:80 and access to my Zope
> instance 

Have you installed mod_proxy and mod_rewrite when installing Apache ?

>(it will be the only address and port number 
> that appear in the browser, due to security reason across the routers), but
> I have only the text in my web page. 

Sorry, but I did not quite understood what you meant above.

> My pictures don't appear, and when I clic to some links on my web page, the
> browser (Mozilla) tells me :
> the document contains no data. Have I forgoten some "aliases" ?
> For testing, i've tried to do the same stuff with "manage" instead of
> "myzopeinstance" and I've in my browser
> only the 3 blank frames, with three times "the document contains no data"
> (but first the browser ask me the login and password).
> Where am I wrong ? 


> On my Apache config commonhttp.conf :
> NameVirtualHost *:80
> <VirtualHost 192.168.1.10:80>
>     DocumentRoot /usr/local/Zope-2.7.0/myzopeinstance/
>     ServerSignature On
>     RewriteEngine On
>     RewriteRule ^/(.*)
> http://localhost:8090/VirtualHostBase/http/192.168.1.1:80/myzopeinstance/Vir
> tualHostRoot/$1 [L,P]

Try this:

192.168.1.1 -> 192.168.1.10 (supposing this is the internet visible IP)

> http://localhost:8090/VirtualHostBase/http/192.168.1.10:80/myzopeinstance/Vir
> tualHostRoot/$1 [L,P]

regards,
Senra



More information about the Zope mailing list