[Zope] PLEASE HELP with VHM Problem!!

Tino Wildenhain tino at wildenhain.de
Mon Aug 15 11:00:24 EDT 2005


beno schrieb:
> I still do not have a solution to get my VHM working. My programmer is 
> on vacation and I don't know how he's got things configured. I copied, 
> pasted and edited an entry in our httpd.conf file thus:
> 
> <VirtualHost *>
> ServerAdmin beno at web.vi <mailto:beno at web.vi>
> ServerName centurionsecurityvi.com
> ServerAlias *.centurionsecurityvi.com
> ErrorDocument 401 /errors/401.html
> ErrorDocument 403 /errors/403.html
> ErrorDocument 500 /errors/500.html
> ErrorDocument 404 /errors/403.html
> Alias ////icons// ////usr/local/apache/icons//
> RewriteEngine On
> 
> # Webalizer
> RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]
> 
> RewriteRule ^/(.*) 
> http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
> [L,P]
> SetEnvIf Referer "^$" dontlog
> SetEnvIf Referer "^http://centurionsecurityvi\.com.*$ 
> <http://centurionsecurityvi%5C.com.*$>" dontlog
> SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$ 
> <http://www%5C.centurionsecurityvi%5C.com.*$>" dontlog
> ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
> CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log 
> combined
> CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
> referer env=!dontlog
> </VirtualHost>
> 
> rebooted our FreeBSD machine, and then followed the instructions in our 
> VHM by entering these fields:
> centurionsecurityvi.com
> /centurionsecurityvi.com
> (Yes, that's the dir.) VHM tells me this dir can't be found. Wazzup?! 
> I'm looking at the darn thing! Don't tell me it can't be found! Waaaaaah!
> Please help.

Nono! You dont configure anything in the VHM object!
All its needs is done by your RewriteRule above.

When it works, you are already inside the "folder"
/conturionsecurityvi.com

(if you are using excatly this folder name - check
by visiting your zope instance directly)


More information about the Zope mailing list