<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
&nbsp;&nbsp;&nbsp; I had the same problem and I solve it activating the reverse proxy,
add this code in your VirtualHost config:<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;IfModule mod_proxy.c&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyVia On<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyRequests Off<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Proxy *&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order deny,allow<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Proxy&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/IfModule&gt;<br>
<br>
It works for me. Good Luck.<br>
<br>
<div class="moz-signature">
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>firma</title>
<span style="font-family: courier new,courier,monospace;">Aitzol
Naberan Burga&ntilde;a<br>
CodeSyntax<br>
<a href="mailto:anaberan@codesyntax.com">anaberan@codesyntax.com</a><br>
<a href="http://www.codesyntax.com">www.codesyntax.com</a><br>
</span>Tel: 943&nbsp; 82 17 80<br>
</div>
<br>
<br>
Tim Zegir(e)k dio:
<blockquote cite="mid002201c425d8$d2e9d540$0200a8c0@capture" type="cite">
  <pre wrap="">Thanks for that but no luck :(.

(See comments below)

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: Santi Camps [<a class="moz-txt-link-freetext" href="mailto:santi@zetadb.com">mailto:santi@zetadb.com</a>]
Sent: Monday, April 19, 2004 6:19 PM
To: Tim Zegir
Cc: <a class="moz-txt-link-abbreviated" href="mailto:zope@zope.org">zope@zope.org</a>
Subject: Re: [Zope] 403 error

Tim Zegir escribi&oacute;:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi All,

I have just set up a new apache server (Mandrake 10) and have
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->configured
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">it to use the following rewrite rule.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
It has Apache 2 if anyone is interested

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">--------------
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteLog logs/domain.com-rewrite_log
RewriteLogLevel 1
RewriteRule ^/(.*)
      </pre>
    </blockquote>
    <pre wrap=""><a class="moz-txt-link-freetext" href="http://zope.domain.com:8080/VirtualHostBase/http/%{SERVER_NAME">http://zope.domain.com:8080/VirtualHostBase/http/%{SERVER_NAME</a>}:80/doma
    </pre>
  </blockquote>
  <pre wrap=""><!---->i
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">n/VirtualHostRoot/$1 [L,P]
&lt;/IfModule&gt;
----------------
But when ever I go to domain.com I get a 403 error (You don't have
permission to access / on this server).

Does anyone know whats wrong?



      </pre>
    </blockquote>
    <pre wrap="">You need to load mod_proxy and enable it using "ProxyRequests On".
    </pre>
  </blockquote>
  <pre wrap=""><!---->
When I do this I get the following error
--------
Invalid command 'ProxyRequests', perhaps mis-spelled or defined by a
module not included in the server configuration
-------
Im positive that I have both mod_proxy and mod_rewrite installed (they
are loaded in the httpd.conf)

  </pre>
  <blockquote type="cite">
    <pre wrap="">For security reasons, I always put all these directives in a
&lt;VirtualHost&gt; section.  Otherwise somebody can use your proxy-enabled
apache to hide porno webs and consume you bandwidth.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It already is in a &lt;VirtualHost&gt; :)

  </pre>
  <blockquote type="cite">
    <pre wrap="">Regards

Santi Camps
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thanks
-tim zegir



_______________________________________________
Zope maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a>
<a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a>
**   No cross posts or HTML encoding!  **
(Related lists - 
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a>
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )


  </pre>
</blockquote>
</body>
</html>