I just installed Zope 2.9.x and Plone 2.5.something (latest) on my
server. The apache root is /var/www. I put zope/plone in
/home/zope/instance.
My /etc/apache2/sites-available/default contains:
NameVirtualHost *
<VirtualHost *>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
</Directory>
</VirtualHost>
The /etc/apache2/sites-available/illuminatus contains:
<VirtualHost *>
ServerAdmin [EMAIL PROTECTED]
ServerName templar.zgwo.org
ServerAlias illum.inat.us
### ZOPE STUFF
RewriteEngine On
RewriteLog "/tmp/rewrite.log"
RewriteLogLevel 3
# Don't rewrite static content
RewriteRule ^/icons - [L]
#RewriteRule ^/pipermail - [L]
RewriteRule ^/images - [L]
RewriteRule ^/cgi-bin - [L]
RewriteRule ^/(.*) \
http://localhost:8080/VirtualHostBase/http/illum.inat.us:80/illuminatus/VirtualHostRoot/$1
[L,P]
</VirtualHost>
I have no problem with http://localhost:8080/illuminatus. It's
working as it should.
The problem is that if I try http://illum.inat.us, I get an apache 403 error;
You don't have permission to access / on this server.
I also get an error when I restart apache:
Forcing reload of apache 2.0 web server...[Mon Jul 03 11:34:26 2006]
[warn] NameVirtualHost *:0 has no VirtualHosts
[Mon Jul 03 11:34:28 2006] [warn] NameVirtualHost *:0 has no VirtualHosts
I'm not sure where I've gone wrong, but this setup had worked on
another box exactly as is. Any ideas?
-Mike
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list