Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i create my own cgi-bin

Status
Not open for further replies.

eekthecat

Programmer
Nov 13, 2000
45
US
Hi,

I'm running a personal webserver on my windows 98 machine.
Now i want to excecute a cgi file witch returns an html code included some variables. When I test it now, i get an error 500. I think my machine doesn't recognise cgi files.
(it does recognise the files in windows but not in internet explorer and personal webserver.

Can somebody help me setting up a working cgi-bin?

Tanx,
Eek
 
You can successfully do what you are trying to do..... but,....... May I humbly suggest that you download Apache and work from there? There are some real advantages.

1 - Apache is a free full featured well supported web server
2 - You would learn how to setup and use the worlds most popular web server (you become more valuable).
3 - Apache is not difficult to setup and use. I have it on my Win98 box at home to use as a development platform for free lance stuff.
4 - Apache coordinates well with Perl with things like Mod_Perl.
5 - You get out of the PWS box which is quite limited.

Sorry, my advice is to take a step back rather than a few forward. I just think the few forward steps lead to a developemental dead end for you and your apps.

'hope this helps......

PS - I'll leave it alone for now...... but, you and I both probably should get our machines dual booting Linux. But, that is another discussion.




keep the rudder amid ship and beware the odd typo
 
I just wanted to offer another reason for Apache. After setting up the server, if you get a service with a static IP for your ISP account, then you won't have to worry about a hosting service. You can run your own website off of your own machine by going to IP ADDRESS> Jonathan Hannan
Computer Repair, Webdesign
HTML, CGI, PERL, JavaScript, XML
 
you'll need to ask the isp if that is where their cgi-bin is. different isps use different directories as their cgi-bin. at the company i used to work at, we used cgibin instead of cgi-bin. adam@aauser.com
 
I have no reply but a question
I am very interested in the following proposition
d-load appache and practice with CGI/Perl
I run Win 98, do I need to reload and dual boot
Mandrake (which I did uninstal!)?
or may I do it in a MS Win environment

the real question is: may we practice w/out a profund Unix
understanding
 
You can do it easily in your Win98 environment. I have a Dell PC dual booting Win98 and RH Linux. I have apache on both OSs ( I installed Apache in Win98 before I decided to put LINUX on the box. I now do all of my development on the LINUX side. ) I wrote plenty of Perl/CGI on the Win98 box and moved it to our server at work before I installed LINUX.

If you only want a development platform, then Win98 will do most of what you want. If you get some understanding of Perl/CGI and want to add a database (like MySQL or PostgreSQL), then Win98 will be limiting. As you ask the Win98 OS to run Apache, PostgreSQL (my personal choice), and Perl, and an editor and your CD player all at the same time...... well...... we all know what happens.... you are inviting the blue screen of death.

If you do eventually want to use the box as a public reachable web server, then go with LINUX/APACHE/POSTGRESQL or MySQL and any other appropriate tools.

The short answer: You can 'practice' with out a profound understanding of UNIX. However, there are some aspects of web server and database setup that will require some understanding of things like file systems and user permissions. Also, the UNIX OSs are popular because they are rock solid stable and bring a lot of real utility to the situation.

'hope this helps.


keep the rudder amid ship and beware the odd typo
 
Hello Goboating
thank you very much for the answer, yes I will do that
I have a pretty good knowledge of web server and web server app, as well as integrating a CGI/perl script in a site environment actually I am putting last details to a CGI/PERL
forum that we have added to my site, further I have decided to go back to a very good University and get a certif in web/master/admin/ needless to say I am swiming deep in the subject
thanks again for a very detailed almost article.

I see you are a boat man keep away from pirates and the Red sea as Hemingway described it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top