Hello,
I have a Zope instance running on port 8080 with the following
httpd.conf vhost directive
<VirtualHost *:80>
ServerName domain.com
ServerAlias www.domain.com
RewriteEngine On
#Deny hosts map
#
RewriteMap hosts-deny txt:/home/xxx/apache/hosts.deny
RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond ${hosts-deny:%{HTTP:true-client-ip}|NOT-FOUND} !=NOT-FOUND
RewriteRule ^/.* - [F]
#Awstats rewrite
#
RewriteRule /awstats-icon(.*)
/usr/share/webapps/awstats/6.5-r1/hostroot/icon/$1 [last]
RewriteRule /stats(.*)
/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl$1 [last]
#ZOPE rewrite
#
RewriteRule ^/(.*)
http://domain.com:8080/VirtualHostBase/http/domain.com:80/users/user/VirtualHostRoot/$1
[L,P]
#Logs
ErrorLog /var/log/apache2/domain.com_error.log
CustomLog /var/log/apache2/domain.com_access.log combined
RewriteLog /var/log/apache2/domain.com_rewrite_log
</VirtualHost>
Everything works fine, but when I go to http://domain.com/stats Apache
still points to the ZOPE server and does not take into account the
Awstats rule!
Awstats works, as when I comment out the ZOPE rewrite rule and then
point my browser to http://domain.com/stats I get the stats page.
Is there a way in which I can make this work for the two servers?
Cheers
Norman
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]