View Full Version : CGI vs SCGI
Jinxy
05-25-2007, 12:36 PM
I know next to nothing at all about cgi/perl (as you can tell by my question) however I do have a few scripts that I have installed in my scgi directory and they all run perfectly. My question is, what is the difference in my cgi directory and my scgi directory and which is best to run my perl scripts in?
Thanks
Jinxy
05-29-2007, 10:52 PM
I'm sorry, must have been to tough a question. :)
I had never heard of it before but a quick google of scgi netted this result.
http://www.mems-exchange.org/software/scgi/
bazz
Jinxy
05-30-2007, 12:37 AM
Thanks for replying bazz. I didn't realize it was something new. From what you posted and what I found and also what my cpanel says, I take it the "S" in scgi stands for "Secure" (guess)
This is what my cpanel tells me, but I never have to use a userid to access any files?
You will need to place the CGI Scripts that you want to run with your userid in the directory /home/blabla/public_html/scgi-bin.
Found this on a search, and that gives me the idea about "Secure"
http://forum.catalyst2.com/archive/index.php/t-849.html
Thanks again bazz :)
well according to WikiPedia (and we know how reliable that can be, don't we? :( ) it means Simple CGI.
bazz
Jinxy
05-30-2007, 01:37 PM
According to this, that is correct.
http://python.ca/scgi/protocol.txt
And according to this thread it doesn't give error logs. But I can't be sure if it's like that on every server or just the server these posters are on.
http://forum.100megswebhosting.com/showthread.php?t=803
I'd run it in the cgi-bin instead as mentioned. When you get an internal server error in the cgi-bin, it will actually show up in the error logs so that you can see what is going wrong. The scgi-bin doesn't give any error output.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.