I am having a terrible time trying to get my zope server to work behind
apache 2.2.9. I am running an Debian server with plone 2.5.5.

I have this in my site file (/etc/apache2/sites-enabled):

<VirtualHost *:80>
    ServerName ahsnews.com
    ServerAlias www.ahsnews.com
    ServerAdmin [email protected]
    ServerSignature on

    DocumentRoot /var/www

    CustomLog     "|/usr/sbin/rotatelogs /var/log/apache2/
ahsnews.com/ahsnews.com-access.log 86400" combined
    ErrorLog      "|/usr/sbin/rotatelogs /var/log/apache2/
ahsnews.com/ahsnews.com-error.log 86400"
    LogLevel debug


    RewriteEngine on

    # use RewriteLog to debug problems with your rewrite rules
    # disable it after you found the error our your harddisk will be filled
*very fast*
    RewriteLog "/var/log/apache2/rewrite_log"
    RewriteLogLevel 3

    RewriteRule ^/(.*) \

http://127.0.0.1:8080/VirtualHostBase/http/%{SERVER_NAME}:80/ahs/newspaper/VirtualHostRoot/$1[L,P]

    ProxyRequests On

    <Proxy *>
      Order Deny,Allow
      Deny from All
      Allow from ahsnews.com
    </Proxy>
</VirtualHost>

The only modification that will work is if I put Allow from All in the Proxy
directive. Then the plone site is displayed in a browser. Any thing else,
and I get error 403 - You don't have permission to access / on this server.

I have tried all sorts of combinations, but nothing works...
Allow from 127.0.0.1
Allow from xxx.xxx.xxx.xxx     where xxx.xxx.xxx.xxx is the IP of the server
Allow from .ahsnews.com

I also have all the proxy modules enabled: proxy, proxy_http, proxy_connect,
proxy_ftp.

Any suggestions would be greatly appreciated.

Thanks!

Mark
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to