[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache cgi-bin access forbidden.

On Fri, 18 Apr 2003 20:38:48 +0100
<Hell.Surfers@cwctv.net> wrote:

> My Apache server won't let me access the cgi bin. Any ideas.
> DM
Check httpd.conf for the relevant options:
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
    Options Indexes FollowSymLinks ExecCGI
# "/opt/apache2/cgi-bin" should be changed to whatever your
ScriptAliased# CGI directory exists, if you have that configured.
<Directory "/opt/apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
AddHandler cgi-script .cgi
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents.  The MultiViews Option can be used for the
# same purpose, but it is much slower.
DirectoryIndex index.html index.html.var index.cgi


There may be more but that is a start.

Shawn Lamson
Debian GNU/Linux 3.0

Reply to: