Actually this is what I came up with. You'll need
mod_rewrite and mod_proxy
installed and uncommented
<VirtualHost *:80>
ServerAlias domain.com
ServerAlias domain.com
ServerAdmin webmaster domain.com
ServerSignature On
DocumentRoot "/var/www/localhost/htdocs"
CustomLog /var/log/apache2/example.org-access.log
combined
ErrorLog /var/log/apache2/example.org-error.log
LogLevel warn
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/mychat(.*) - [L]
RewriteRule ^/(.*) \
http://
127.0.0.1:10080/VirtualHostBase/http/%:80/v
name/VirtualH
ostRoot/$1 [P,L]
</IfModule>
Port 10080 is your zope port and vname is your virtual host
monster id
If you need help with this email me and I'll see what I can
do.
Dave
-----Original Message-----
From: setup-bounces lists.plone.org [mailto:setup-bounces lists.plone.org]
On Behalf Of Dan Thomas
Sent: Monday, February 13, 2006 3:19 PM
To: setup lists.plone.org
Subject: [Setup] Re: Apache2 rewrite problems
Ollie Acheson <oacheson ...> writes:
>
> I am a new zope and plone user. My configuration is
linux 2, python 2.4.2,
> zope 2.9.0 and plone 2.1.2. Zope and plone appear to be
working fine when
> accessed through port 8080. My problem relates to using
apache2 and
rewrite
> rules to access virtual domains via port 80, i.e., no
port as part of the
> address.
>
> <IfModule mod_proxy.c>
> ProxyVia On
> <LocationMatch "^[^/]">
> Deny from all
> </LocationMatch>
> </IfModule>
>
> </VirtualHost>
> -------------------------- end apache2 config file
--------------------
This was someone else' solution:
_____
The proxy destination must be specifically allowed by the
httpd.conf file,
using
a line like this:
<IfModule mod_proxy.c>
<Directory proxy:http://localhost:8080/>
Order deny,allow
Allow from all
</Directory>
</IfModule>
_____
Also, Zope 2.1x is not supported with Zope 2.90, try 2.8x or
2.7x instead.
Hope that helps!
Dan
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|