[Zope] apache 2.0.50

Martin Koekenberg zope at digital-adventures.nl
Mon Aug 30 04:58:12 EDT 2004


Hallo William,

I've no slution foor the ssl part (Please tell me ;-) )
Apache port : 80
Zope port : 8081
But this is working for me :

<VirtualHost *>
ServerName www.sassendonk.nl
ServerAdmin webmaster at sassendonk.nl
<IfModule mod_rewrite.c>
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 "/usr/local/zope/data/log/rewrite_log"
#RewriteLogLevel 2
ErrorLog /usr/local/zope/data/log/www.sassendonk.nl/error.log
CustomLog /usr/local/zope/data/log/www.sassendonk.nl/access.log combined
CustomLog /usr/local/zope/data/log/www.sassendonk.nl/agent.log agent
CustomLog /usr/local/zope/data/log/www.sassendonk.nl/referer.log referer
RewriteRule ^/(.*)
http://localhost.localdomain:8081/VirtualHostBase/http/%{SERVER_NAME}:80/sassendonk/VirtualHostRoot/$1
[L,P]
RewriteRule ^/manage(.*)
http://localhost.localdomain:8081/VirtualHostBase/http/%{SERVER_NAME}:80/sassendonk/VirtualHostRoot/manage$1
[L,P]
RewriteRule ^/p_(.*)
http://localhost.localdomain:8081/VirtualHostBase/http/%{SERVER_NAME}:80/sassendonk/VirtualHostRoot/p_$1
[L,P]
RewriteRule ^/misc_(.*)
http://localhost.localdomain:8081/VirtualHostBase/http/%{SERVER_NAME}:80/sassendonk/VirtualHostRoot/misc_$1
[L,P]
RewriteRule ^/(.*) - [L]
</IfModule>
<IfModule mod_proxy.c>
ProxyVia On
# prevent the webserver from beeing used as proxy
<LocationMatch "^[^/]">
Deny from all
</LocationMatch>
</IfModule>
</VirtualHost>


Success

Martin Koekenberg
----- Original Message ----- 
From: "William Herring" <william.herring at spgenetics.com>
To: <zope at zope.org>
Sent: Monday, August 30, 2004 3:55 AM
Subject: [Zope] apache 2.0.50


> I'm running RedHat9 + apache 2.0.50, and I'm trying to incorporate with
> zope.  Zope is running fine on port 8080 as well as https on 443 (can see
a
> typical apache test page).  I also have apache listening on port 8000 and
> have Virtual Host Monster installed.
>
> In the /etc/httpd/conf/ssl.conf I have at the bottom of the file:
> <VirtualHost *:8000>
> ErrorLog /var/log/httpd/error_log
> TransferLog /var/log/httpd/access_log
> SSLEngine on
> SSLCipherSuite
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
> SSLCertificateFile /etc/httpd/conf/server.crt
> SSLCertificateKeyFile /etc/httpd/conf/server.key
> CustomLog /var/log/httpd/ssl_request_log \
>           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
> <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteLog "/var/log/httpd/rewrite.log"
>     RewriteLogLevel 9
>     RewriteRule ^/(.*)
>
http://192.168.0.25:8080/VirtualHostBase/https/192.168.0.25:8000/VirtualHost
> Root/$1 [L,P]
> </IfModule>
> </VirtualHost>
>
>
>
>
> Yet, when I try to access https://192.168.0.25:8000 , I get:
> Forbidden
> You don't have permission to access/manage on this server.
>
> I have taken out the rewrite rules above to see what happens, and I get
the
> apache test page.
>
>
>
>
>
> Any ideas would be greatly appreciated.
>
>
> _______________________________________________
> 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