Hello,<br>
I'm trying to set up apache2 to serve two sites, a &quot;normal&quot; 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 &quot;zope&quot;
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>
&nbsp;zenobito<br>
<br>
Apache2 conf:<br>
<br>
---------------------------<br>
NameVirtualHost *<br>
&lt;VirtualHost *&gt;<br>
&nbsp;&nbsp;&nbsp; ServerAdmin webmaster@localhost<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; DocumentRoot /var/www/www-docs<br>
&nbsp;&nbsp;&nbsp; ServerName <a href="http://www.mysite.com">www.mysite.com</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Directory /&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Options FollowSymLinks<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Directory /var/www/&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks MultiViews<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; allow from all<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # This directive allows us to have apache2's default start page<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# in /apache2-default/, but still have / go to the right place<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Commented out for Ubuntu<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #RedirectMatch ^/$ /apache2-default/<br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/<br>
&nbsp;&nbsp;&nbsp; &lt;Directory &quot;/usr/lib/cgi-bin&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Options ExecCGI -MultiViews +SymLinksIfOwnerMatch<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Order allow,deny<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Allow from all<br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; ErrorLog /var/log/apache2/error.log<br>
<br>
&nbsp;&nbsp;&nbsp; # Possible values include: debug, info, notice, warn, error, crit,<br>
&nbsp;&nbsp;&nbsp; # alert, emerg.<br>
&nbsp;&nbsp;&nbsp; LogLevel warn<br>
<br>
&nbsp;&nbsp;&nbsp; CustomLog /var/log/apache2/access.log combined<br>
&nbsp;&nbsp;&nbsp; ServerSignature On<br>
<br>
&nbsp;&nbsp;&nbsp; Alias /doc/ &quot;/usr/share/doc/&quot;<br>
&nbsp;&nbsp;&nbsp; &lt;Directory &quot;/usr/share/doc/&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes MultiViews FollowSymLinks<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order deny,allow<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Deny from all<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br>
<br>
&lt;/VirtualHost&gt;<br>
<br>
&lt;VirtualHost *&gt;<br>
&nbsp;&nbsp;&nbsp; RewriteEngine On<br>
&nbsp;&nbsp;&nbsp; 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>
&lt;Directory /&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Options FollowSymLinks<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AllowOverride None<br>
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br>
&lt;/VirtualHost&gt;<br>
<br>
<br>