PDA

View Full Version : web server +perl cgi problems



Ardil
05-27-2005, 06:45 PM
I have successfully set up a web server using knoppix and apache and all my HTML files can be seen from the web. I can't seem to get perl scripts to execute however, I've tried all the things people have suggested on this forum but when ever I try to run a perl script from the web browser it just asks if I'd like to download the file.

Am I missing somthing here?

Any help greatly appreciated

markpreston
05-27-2005, 09:57 PM
Which directory do you place your perl scripts in?

rwcitek
05-28-2005, 10:37 PM
I can't seem to get perl scripts to execute however, I've tried all the things people have suggested on this forum but when ever I try to run a perl script from the web browser it just asks if I'd like to download the file.
Can you post your /etc/apache/conf/httpd.conf file or even better a trimmed version with the comments removed? You can trim the comments out with grep:
grep -v -e '^ *#' -e '^ *$' /etc/apache/conf/httpd.conf

Regards,
- Robert
http://www.cwelug.org/