Help with cgi-bin, executing file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LeftBrainStudio
    Junior Member
    • Mar 2004
    • 21

    Help with cgi-bin, executing file

    I'm trying to use FormMail.pl and keep getting an "internal Server Error". So a few questions:

    1. Is the first line in the script supposed to be commented? It's: #/usr/bin/perl -wT

    2. Is the correct call to the script: domain.com/cgi-bin/FormMail.pl

    3. Is the correct path for sendmail: /usr/sbin/sendmail (I've read the FAQ and this should be right but I'm double checking)

    Any advice?

    Thanks,
    Gilbert
  • Dan
    Member
    • Mar 2004
    • 99

    #2
    1) Yes it's commented out.

    2) Mine is <form method="post" action="/cgi-bin/script.pl" name="name">

    3) Yes it is.

    Check to insure that you uploaded the script as ASCII and that it's chmoded correctly.

    Comment

    • LeftBrainStudio
      Junior Member
      • Mar 2004
      • 21

      #3
      Originally posted by Dan
      1) Yes it's commented out.

      2) Mine is <form method="post" action="/cgi-bin/script.pl" name="name">

      3) Yes it is.

      Check to insure that you uploaded the script as ASCII and that it's chmoded correctly.
      It looks like I uploaded it in the wrong format. Thanks, that did it.

      Cheers!
      Gilbert

      Comment

      Working...