Web Hosting Talk







View Full Version : Master of Perl/CGI Please help me.


fatbargains
06-04-2002, 03:12 AM
I nêed help from whoever can help me.

I'm installing a cgi script called "communitylinkpro" and have no luck.

Typical error:
http://www.vietpal.com/com/cgi-bin/communitylinkpro/admin.cgi

Here's the site:
http://www.vietpal.com/com/cgi-bin/communitylinkpro/

Here's the doc:
http://www.vietpal.com/com/docs/

I did about everything, but i can't get it to work. Please PM me if you'd like to get into the server and lơok at it. or on AIM sn is ATKIMA --- Any suggestions should be replied here. I'm lơoking forward to your help. thanks.

BTW, all fìles chmod'd 755. i used ws_ftp le to upload these files.

mwatkins
06-04-2002, 03:15 AM
Always start debugging CGI problems (and most other problems) via the log file. No doubt there is a nice plain text error message sitting in httpd-error.log waiting for you.

Who knows where the file will be on your system. If you had the whole box it might be in /var/log/httpd-error.log

On a vhost account, look in your 'root' directory for log/... etc

Also make sure you uploaded the scripts in ASCII mode.

xerocity.com
06-04-2002, 03:26 AM
1. Check your log file
2. Make sure you uploaded in ASCII mode.
3. Chmod 755 all scripts
4. Path to Perl is correct (usually, /usr/bin/perl)
5. cgi-bin has correct settings
6. Change the display directory listing option in a .htaccess (your current setting is a major security risk)

If you can't figure it out PM me.