The usual CGI-BIN error

apostle

Verified User
Joined
Jun 1, 2004
Messages
22
Location
chicago
I've been searching all through the forums. A customer came to me with this problem:
You don't have permission to access /cgiirc/irc.cgi on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-
i've read up on a lot of them, and read http://help.directadmin.com/item.php?id=6
-
I did get errors running the script in SSH, and went to do: perl -e shell -MCPAN . however i recieved this error: [root@xtreme customapache]# perl -MCPAN -e shell
Can't locate CPAN.pm in @INC (@INC contains: ........ .).
BEGIN failed--compilation aborted
-
I also read to: If the perl -e shell -MCPAN fails while testing, you can still install the downloaded files..

cd /root/.cpan/build
Look for the DBD-mysql directory, go there, do a:
perl Makefile.PL
make; make install

however i also recieve an error there: bash: cd: /root/.cpan/build: No such file or directory

I was planning on installing cpan, but instead of making things worse, just posted this. Hope someone can help me out!
 
Hey,

While your post title says"CGI-BIN", your post itself says:

You don't have permission to access /cgiirc/irc.cgi on this server

So, one would have to ask if it's "cgiirc", is that directory under CGI-BIN and if so, does the "cgiirc" have the correct permissions?

Where exactly is the "cgiirc" directory located?

What errors did you get when you ran the script via ssh?

David
 
Back
Top