cgi scripts hidden?

For all coding issues - MODers and programmers, HTML and more.

Moderators: Jeff250, fliptw

Post Reply
User avatar
Isaac
DBB Artist
DBB Artist
Posts: 7737
Joined: Mon Aug 01, 2005 8:47 am
Location: 🍕

cgi scripts hidden?

Post 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!
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Re: cgi scripts hidden?

Post 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.
User avatar
Isaac
DBB Artist
DBB Artist
Posts: 7737
Joined: Mon Aug 01, 2005 8:47 am
Location: 🍕

Post by Isaac »

Haha! That was my next question! Thanks!
Post Reply