What do the server logs say?  The /var/log/apache2 directory, for
instance?  What user is your web server running as?  Can you view
regular HTML files placed in the /~lover/mytest.cgi directory?

--John



Rocky Ou wrote:
>
>
> ---------- Forwarded message ----------
> From: *Rocky Ou* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> Date: Jun 6, 2006 6:59 PM
> Subject: Re: Debian sarge 3.1\apache2 not surpport cgi
> To: Jiann-Ming Su <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
>
>
>
> On 6/6/06, *Jiann-Ming Su* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> On 6/5/06, Rocky Ou <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >y machine support the cgi please
> > ? Any hint will be highly appreciated!
> >
> >  Thanks a lot in advance
> >
>
> Search for "cgi-bin" in the /etc/apache2/apache2.conf file.
>
> --
>
>
> Jiann-Ming Su, thanks very much  for your hint! I find the line and
> comment it out as following:
>
> #########
> # To use CGI scripts outside /cgi-bin/:
> #
> AddHandler cgi-script .cgi
> #########
> Well after that I got the following error:
>
> #########
>
>
>   Forbidden
>
> You don't have permission to access /~lover/mytest.cgi on this server.
>
> ------------------------------------------------------------------------
> Apache/2.0.55 (Debian) mod_python/3.2.8 Python/2.3.5 PHP/4.4.2-1+b1
> mod_perl/2.0.2 Perl/v5.8.8 Server at localhost Port 80
> ############
> Though I've did chmod 777  mytest.cgi.
>
> Can anybody help me please?
>
> Thanks a lot in advance!
>
> Rocky
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to