Re: apache cgi-bin access forbidden.
hi ya
wild guess
according to your info
all your cgi-bin is in /opt/apache2/cgi-bin
( none of those can be a symlink )
c ya
alvin
> 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:
> ----snip
> # 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
> -----snip
> #
> # "/opt/apache2/cgi-bin" should be changed to whatever your
> ScriptAliased# CGI directory exists, if you have that configured.
> #
this is where all yoru cgi-stuff is defined
-- remove your execCGI stuff above... bad idea..
( all cgi's should only be in non-viewable/non-browable cgi-bin
( directory
> <Directory "/opt/apache2/cgi-bin">
> AllowOverride None
#
# change your options
#
# Options None
#
# -- add a symlink option here --
#
Options FollowSymLinks
#
> Order allow,deny
> Allow from all
> </Directory>
> --snip
> # To use CGI scripts outside of ScriptAliased directories:
> # (You will also need to add "ExecCGI" to the "Options" directive.)
> #
> AddHandler cgi-script .cgi
Reply to: