Welcome Guest, please login or register.
Username:
Password:

News: Welcome to Hostpapa Forums!
Pages: [1]   Go Down
Topic Tools  
Read
January 15, 2011, 12:52:18 PM
hamdev
Newbie
*
Posts: 2



I am trying to use cgiemail by following the instructions at http://web.mit.edu/wwwdev/cgiemail/user.html. Several other websites have listed this document and published the instructions with essentially no changes.
I created a form and placed it on my development subdomain. I also created an email template to match and placed it in the root directory for that subdomain. I then tried to use cgiecho to test it.

1. If I simply set the template in the root for the subdomain (call it my.sub.domain) and set the action in the form as follows: http://my.sub.domain/email.txt, then when I submit the form, the email template is displayed as expected.

2. I created a subdirectory called cgi-bin and placed email.txt in that directory. I changed the action in the form to http://my.sub.domain/cgi-bin/email.txt. Now when I submit the form I get Internal Server Error.

3. I changed the subdirectory to cgi and changed the form action to http://my.sub.domain/cgi/email.txt. When I submit the form, I again get the email template as expected.

4. I copied cgiecho from /public_html/cgi-bin to the cgi directory and changed the form action to http://my.sub.domain/cgi/cgiecho/cgi/email.txt as stated in the user manual. Now I get Page Not Found.

5. I changed the form action to http://my.sub.domain/cgi/cgiecho/email.txt. Again, Page Not Found.

Why do I get Internal Server Error as soon as I attempt to reference any file in a subdirectory called cgi-bin?
What am I doing wrong?
Logged
 

Read
January 15, 2011, 07:39:08 PM
HelpingHand
Full Member
***
Posts: 117



Go into cPanel > Error Logs. It should tell you why you are getting the 500 internal server error (usually file/folder permissions).
Logged
 

Read
January 16, 2011, 06:41:03 AM
hamdev
Newbie
*
Posts: 2



Thanks for the suggestion, but I had already done that, and there were no entries with a 500 status, just 404 because I do not have a 500.shtml file.
Logged
 

Read
January 16, 2011, 06:27:51 PM
HelpingHand
Full Member
***
Posts: 117



Try following the instructions here:

http://hostpapasupport.com/index.php?_m=downloads&_a=viewdownload&downloaditemid=16&nav=0

I created that download when I worked there and never heard anyone say it didn't work.
Logged
 

Pages: [1]   Go Up
Jump to:  

Theme by webtechnica.net