Re: apache, perl, 403 forbidden, help?
I've tried it both with and without the '+'. they both result in the
same error (403 forbidden). i check my permissions again and as far as
i can tell all parent directories are at least o+rx.
for some reason i can't understand apache is ignoring the Directory
directives i use in the conf file... =(
thanks for your suggestion.
herbert
On Tue, Nov 21, 2000 at 04:57:03PM -0600, Chris Feist wrote:
>
> <SNIP>
> > 1) i've added the handler and options directives to my srm.conf:
> >
> > AddHandler cgi-script .cgi .pl
> > <Directory "/">
> > Options +All +ExecCGI
> > </Directory>
> >
> > i know +All and +ExecCGI are redudant and this is not secure, but
> > i'm desperate. =)
> >
>
> You shouldn't have a "+" in front of All and ExecCGI. I'm not sure if
> you're just doing it for empahsis, but that could be your problem.
>
> Make sure your permissions are at least 755.
>
> > 2) i tried pointing the directory to the exact directory where i'm
> > executing the script (i.e. "/" -> "/home/herb/public_html/init", my
> > script resides in init/) to no avail.
> >
> > 3) i tried replacing the <Directory> directive w/
> >
> > ScriptAlias ~herb/public_html/init /home/herb/public_html/init
> >
> > again, no effect.
> >
> > 4) installing the 'apache' package instead of 'apache-perl'. it makes
> > me download the script.
> >
> >
> > permissions look correct. all parents of the script directory are at
> > least o+rx. i am able to execute scripts ok in /usr/lib/cgi-bin/
> > (ScriptAlias'ed to cgi-bin/), but not elsewhere.
> >
> > HELP? any is appreicated...
> >
> >
> > herbert
> >
> >
> > --
> > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: