Hello,<br>
I'm trying to set up apache2 to serve two sites, a "normal" one on
<a href="http://www.mysite.com">www.mysite.com</a> and a zope one on <a href="http://www.mysite.com/zope">www.mysite.com/zope</a> (using rewrite
rules).<br>
I already know how to put apache2 in front of zope, but in this
situation something doesn't work: I read every howto's but when
connecting to <a href="http://www.mysite.com/zope">http://www.mysite.com/zope</a> I get a 404 error from
apache2: it seems like <a href="http://mysite.com">mysite.com</a> comes first, so if there is no "zope"
folder (actually it doesn't exist), it gets an error.<br>
I hope someone can help me.<br>
This is my apache2 configuration file.<br>
<br>
Bye,<br>
zenobito<br>
<br>
Apache2 conf:<br>
<br>
---------------------------<br>
NameVirtualHost *<br>
<VirtualHost *><br>
ServerAdmin webmaster@localhost<br>
<br>
DocumentRoot /var/www/www-docs<br>
ServerName <a href="http://www.mysite.com">www.mysite.com</a><br>
<br>
<Directory /><br>
Options FollowSymLinks<br>
AllowOverride None<br>
</Directory><br>
<Directory /var/www/><br>
Options Indexes FollowSymLinks MultiViews<br>
AllowOverride None<br>
Order allow,deny<br>
allow from all<br>
# This directive allows us to have apache2's default start page<br>
# in /apache2-default/, but still have / go to the right place<br>
# Commented out for Ubuntu<br>
#RedirectMatch ^/$ /apache2-default/<br>
</Directory><br>
<br>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<br>
<Directory "/usr/lib/cgi-bin"><br>
AllowOverride None<br>
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch<br>
Order allow,deny<br>
Allow from all<br>
</Directory><br>
<br>
ErrorLog /var/log/apache2/error.log<br>
<br>
# Possible values include: debug, info, notice, warn, error, crit,<br>
# alert, emerg.<br>
LogLevel warn<br>
<br>
CustomLog /var/log/apache2/access.log combined<br>
ServerSignature On<br>
<br>
Alias /doc/ "/usr/share/doc/"<br>
<Directory "/usr/share/doc/"><br>
Options Indexes MultiViews FollowSymLinks<br>
AllowOverride None<br>
Order deny,allow<br>
Deny from all<br>
Allow from <a href="http://127.0.0.0/255.0.0.0">127.0.0.0/255.0.0.0</a> ::1/128<br>
</Directory><br>
<br>
</VirtualHost><br>
<br>
<VirtualHost *><br>
RewriteEngine On<br>
RewriteRule ^/(.*)
<a href="http://127.0.0.1:8888/VirtualHostBase/http/www.mysite.com/zope:80/comune/VirtualHostRoot/_vh_zopesite/$1[L,P]">http://127.0.0.1:8888/VirtualHostBase/http/www.mysite.com/zope:80/comune/VirtualHostRoot/_vh_zopesite/$1
[L,P]</a><br>
<Directory /><br>
Options FollowSymLinks<br>
AllowOverride None<br>
</Directory><br>
</VirtualHost><br>
<br>
<br>