Page 1 of 1

cgi scripts hidden?

Posted: Sat Dec 18, 2010 3:49 pm
by Isaac
It seems like a silly question, but I can't seem to directly open a CGI script on my server unless I log into an ftp account and open it there. It's in public_html/cgi-bin, which should be accessible to the public, but \"save as\" only seems to save the printed HTML strings.

Does this mean my CGI script's code hidden? So basically I could make little web applications that others can't pirate?

Thanks!

Re: cgi scripts hidden?

Posted: Sun Dec 19, 2010 12:02 am
by Jeff250
Isaac wrote:Does this mean my CGI script's code hidden? So basically I could make little web applications that others can't pirate?
Correct.

While we're on this topic though, I would recommend eventually using a framework like Django for larger Web applications. It's probably good to start with bare CGI though just to get the basics down (like questions like what you asked) and so that you will appreciate Django better when you finally do try it.

Posted: Sun Dec 19, 2010 5:52 am
by Isaac
Haha! That was my next question! Thanks!