cgi dummy
Ok so I have made over 25 webpages in my life and have quite an experience with html java etc..
Problem is I haven't got the slightest idea about cgi!!! I don't even know what it means. I need help and serious help indeed!
Ok so I have made over 25 webpages in my life and have quite an experience with html java etc..
Problem is I haven't got the slightest idea about cgi!!! I don't even know what it means. I need help and serious help indeed!
vy22 posted this at 12:53 — 7th February 2000.
They have: 296 posts
Joined: Sep 1999
Arggghhh I spoke too soon! My boss just slapped a book on my desk the size of my head! Aghh the pain, the pain!
Orpheus posted this at 14:25 — 7th February 2000.
They have: 568 posts
Joined: Nov 1999
don't sweat it
CGI is fuuuun
first, if the book is called "CGI Programming" or something with CGI in it, throw it away. Go out and but a book called "Learning Perl". Perl is the language of the gods. Once you learn Perl everything will become clear.
vy22 posted this at 14:52 — 7th February 2000.
They have: 296 posts
Joined: Sep 1999
Ok Progress:
I now know what CGI means (Common Gateway Interface) and I know what it does! Wahey!
Ok I have set up my IIS server to host an internal intranet at http://abz-server01/testweb
I have created a directory called cgi-bin and downloaded someone's perl guestbook.
I put the guestbook.pl into the cgi-bin directory and the html pages outside the directory and this is what I get:
HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists.
Can I run executables from my cgi-bin directory? If I create a cgi directory for my web server can I then allow users to run executables through cgi?
Thanks
Rob Pengelly posted this at 15:02 — 7th February 2000.
They have: 850 posts
Joined: Jul 1999
Do you have Perl installed yet? If you are running Windows, download Perl at http://www.activestate.com/activeperl
------------------
Due to precipitation, for a few weeks K2 is bigger than Mount Everest.
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
vy22 posted this at 16:29 — 7th February 2000.
They have: 296 posts
Joined: Sep 1999
Yeah well I did and it is as much use as a stab in the left toe. It doesn't say where to put it ,what to do with it or anyhting at all except from 2000 html files. So I am officially declaring that I give up! I just cant take it anymore captain! She just doesnae have the power! Thanks people anyway but my days of cgi are over. Next time i talk about a bin it will be the one in my bedroom that needs emptied cause of all the beer cans piled on top of it!
~VY~
Malte posted this at 16:52 — 7th February 2000.
They have: 297 posts
Joined: Apr 1999
Have you edited the registry of IIS to accept the cgi mime type? Its really a pain in the butt to do that with IIS
Malte
Orpheus posted this at 22:18 — 7th February 2000.
They have: 568 posts
Joined: Nov 1999
IIS is pure evil
download apache for windows (www.apache.org)
Rob Pengelly posted this at 23:19 — 7th February 2000.
They have: 850 posts
Joined: Jul 1999
I like
OmniHTTPD the best
download it at http://www.omnicron.ab.ca
------------------
Due to precipitation, for a few weeks K2 is bigger than Mount Everest.
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.