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

Re: apache, perl, 403 forbidden, help?



<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

Attachment: pgpY7lPvR11Z4.pgp
Description: PGP signature


Reply to: