[Zope] Newbie: How to run CGI scripts outside Zope

Alfredo P. Ricafort alpot@mylinuxsite.com
11 Jan 2003 23:56:13 +0800


Hi,

I am trying to install nagios to my site.  Nagios requires that the
following script alias and alias to be added to the httpd.conf file.

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
    AllowOverride AuthConfig
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
    Options None
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>

However, I set my Location like this:

<Location />
 SetHandler fastcgi-script
</Location>

Now, when I set my URL to www.mydomain.com/nagios, I get an error.  So
can anyone tell me how to inform Zope to ignore this path and let Apache
handle it?

Thanks.

AL