cgi dummy

They have: 296 posts

Joined: Sep 1999

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!

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!

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.

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

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.

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~

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

They have: 568 posts

Joined: Nov 1999

IIS is pure evil

download apache for windows (www.apache.org)

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.

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.