cgi

I am trying to setup a mailing list (Power List). At this point I must say I don't know much about cgi. Followed instruct,changed Options,made sure the sendmail path was correct,uploaded the mail.cgi folder to the cgi-bin and chmod to 755. <br /> In the instruct it says to use <a href="http://www.******/cgi-bin/mail.cgi" target="_blank">http://www.******/cgi-bin/mail.cgi</a><br />but that didn't work, got a server error so I tried <a href="http://www.******/public_html/cgi-bin/mail.cgi" target="_blank">http://www.******/public_html/cgi-bin/mail.cgi</a> and got my 404 page.<br /><br /> Any suggestions?<br /><br />curtis<!--content-->
<a href="http://www.******/cgi-bin/mail.cgi" target="_blank">http://www.******/cgi-bin/mail.cgi</a> is the correct location. You are getting a server error because the script exited with an error.<!--content-->
Thanks, I could not find the error,deleted the script. Will try something else.<br /><br />curtis<!--content-->
Hey, Curtis ... you're not going to give up *that* easily -- are you????<br />-kw<!--content-->
Give up that easy,now KW you know me better than that. I stayed up most of the night trying everything I could think of. I had deleted the Power List script. tried 2 others getting server errors. deleted those. I then tried the mailing list supplied by TCH, got error message. So I went back to the remotely hosted script I was using before. Its not very good. Some of the people will get their mailings when supposed to, some will not. Seems like about 10 don't get it.Next mailing a different 10 will not get it.<br /><br /><br />curtis<!--content-->
KW, I just couldn't leave it alone. I tried Power List again. When I first tried this script I used my browser to ftp the cgi and got the errors. This time I used cuteftp and made sure to send in ascii mode,everything worked the first time. No problems,no errors. I didn't change anything in the code so It had to be the way my browser sends files(not in ascii mode).<br /> Maybe this will help someone else if having problems.<br /><br />curtis<!--content-->
Curtis,<br /><br />Hey, that's interesting - I never considered the Ascii/Binary issue when copying files up to a web site thru a browser window. Guess that's why standalone FTP programs are still necessary and required!<br /><br />I'll have to use Google to see if there's a way to control Ascii/Binary uploads via IE.<br /><br />Now, aren't you glad I encouraged you to give it the old college try????<br /><br />-kw<!--content-->
I guess in my case that would be The Old College Dropout try. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> <br /><br />curtis<!--content-->
Hello,<br /><br />I just read Curtis' plight and I, too, am being bothered by CGI.<br /><br />I'm trying to set up a guestbook.<br /><br />Like Curtis, I uploaded the perl file in ASCII and set the permission to '755'.<br /><br />The variables in the code are:<br /><br />guestbookurl = "http://your.host.com/~yourname/guestbook.html";<br />$guestbookreal = "/home/yourname/public_html/guestbook.html";<br />$guestlog = "/home/yourname/public_html/guestlog.html";<br />$cgiurl = "http://your.host.com/cgi-bin/guestbook.pl";<br /><br />which, after trying several different things, I've set as:<br /><br />$guestbookurl = "http://www.lowney.net/guestbook.html";<br />$guestbookreal = "/guestbook.html";<br />$guestlog = "/guestlog.html";<br />$cgiurl = "http://www.lowney.net/cgi-bin/guestbook.pl";<br /><br />I've tried several different beginnings to the 'guestbookreal' variable, but haven't (if this is the problem) found the right one.<br /><br />Please help <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><!--content-->
Here'ss how to find out your "real" home address for use in your CGI scripts:<br /><br />1. Go to our new <a href="http://help.totalchoicehosting.com" target="_blank">TCH Help Site</a> <br />2. Click on Tools and Scripts<br />3. The first box is for a utility 'env.pl'.<br />4. Go ahead and run it if you;d like, but then click on 'Download this file now'<br />5. Unzip the env.zip file you will get, and then upload it back to your web server<br />6. Then run it on your server: <!-- w --><a class="postlink" href="http://www.mysite.com/env.pl">www.mysite.com/env.pl</a><!-- w --><br /><br />-kw<!--content-->
BEEEEYYOOOOTIFULL!<br /><br />Thank you!<br /><br />Of course, after all this, I'll still try your guestbook, too. I just wanted to see if I could re-remember how to do this. env.pl worked like a charm.<br /><br />BTW- the page you linked has a typo- "Sinply". <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/ohmy.gif" style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" /> <br /><br />Thanks again for the help! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /><!--content-->
Thanks for noting the fact that our fat fingers still get in the way! I'm sure we will get the mis-spell corrected shortly. As they say ... pobody's nerfect!<br /><br />:-)<br />kw<!--content-->
 
Back
Top