?
Solved

Use CGI on a floppy.

Posted on 1999-07-12
13
Medium Priority
?
192 Views
Last Modified: 2013-12-25
I need to be capable of showing my website to a group of people on a computer without the internet but a browser.  I need to show them CGI too.  Is there a way that I can create an artificial CGI-BIN that the computer will use without the internet?  If possible I would like it to fit on a 3X5" floppy.

Thank You
0
Comment
Question by:winwiz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
  • +2
13 Comments
 
LVL 5

Expert Comment

by:nathans
ID: 1835045
This would be tough because if I understand what your saying you want to show them on their Computer which means NO WEB SERVER on their computer.  You could on a laptop but my guess is you already know that.  

If my guesses are correct you are looking for a WebServer and CGI on a Floppy....

Doubt it is out there although it is possible just doubt you can find it.
0
 
LVL 2

Author Comment

by:winwiz
ID: 1835046
Well, I don't know how to emulate a CGI-BIN on a regular computer (laptop)  at least tell me how it is possible to do that.  Because I create web sites for people and I MUST show them CGI (online ordering ) applications without the internet.
0
 
LVL 5

Expert Comment

by:nathans
ID: 1835047
Great, I can answer this one.

If you have Win 95 or Win 98 the name of the CGI-Bin will be Scripts if you install the Personal Web Server (PWS)

1. Installing the PWS on  Win 95

Start - Settings - Control Panel - Network - Add - Service - Microsoft - Personal Web Server.

2. Installing the PWS on Win 98

Put in the Win 98 CD find PWS Directory then run Setup or Install (I forget which) it installs everything.

NEXT  What kind of CGI do you want?

Perl, ASP, else.

Your PWS is ready the http://ComputerName/Scripts is your CGI-Bin

found in C:\webshare\scripts  or c:\inetpub\scripts

By the way I have a PWS installed on a Win 95 and a Win 98 for testing purposes at home.  I am a web Developer/Designer/Programmer.

If you have a problem getting the computer name to call of the Personal Web Server then you have two choices.  1 use http://127.0.0.1/   (This is defaulted to Local Host) or  open a text file in your c:\Windows\ Called either Hosts.sam or Hosts.   In this file you need a Line with the number 127.0.0.1 then one TAB then the Name you want the server to be which would work best if you name it the same as the computer.

This should get you going.

If you want Perl CGI go to www.activestate.com and download the newest PERL which is now called ActivePerl and install it.
0
Application Discovery Service in AWS

In the era of the cloud, customers migrating away from their existing on-premise infrastructure. This requires lots of planning, strategies, and effort to identify their existing resources and determine how best to migrate.  Datacenter migrations happen in four phases -

 
LVL 3

Expert Comment

by:slok
ID: 1835048
hahha...

try this site... .. they have a 1.44Mb challenge...
and they fit webserver, browser etc in it...

http://www.qnx.com/

though I DON'T think it REALLY solves your needs...
nonetheless, such a thing exists...
and unless u want to switch platform etc..

0
 
LVL 3

Expert Comment

by:slok
ID: 1835049
another trick ... depending on your cashflow..
is to register your own domain , have your own box..

so say your domain is winwiz.com..

then u setup a site demo.winwiz.com/client_name
it will go to whatever client's DEMO site
0
 
LVL 5

Expert Comment

by:nathans
ID: 1835050
Trick.... he has NO CONNECTION to a PHONE/NETWORK!   He wants to DEMO  OFFLINE.   He does not have to buy a domain to do this offline.   If you have any problems let me know.  I have done this at work plenty to show the VP's something and to make sure the connection to the network or internet did not mess up something.  Also it speeds of the access so you can more quickly demo what you need to demo.  

You can even install Cold Fusion and ASP, so you can demo Database connectivity.

Nathan

0
 
LVL 2

Author Comment

by:winwiz
ID: 1835051
This is helpful, but I MUST run Perl scripts.  Can you guide me through making the perl scripts work?
If so you'll get an Excellent!  for sure!!
0
 
LVL 2

Expert Comment

by:djsansui
ID: 1835052
I'm not sure there is a way to accomplish this.  To run perl, you MUST install perl on the computer, and it takes a bit of time to do, not to mention it is a 4 meg file.  If you want to demonstrate it as it would appear in a browser, then you also must install a webserver (Apache is about 3 megs, it is the most widely used webserver on the net) and a browser, and those can be a few more megs (if you get NS 3)

In short, there is probably no solution to your problem unless you can bring in about 10 disks and install a ton of software on his computer, or you can do it on a laptop.
0
 
LVL 5

Expert Comment

by:thoellri
ID: 1835053
<Adobe-Sales-Pitch>
If you happen to have a copy of Acrobat 4.0 (not the free Acrobat Reader), you can use the Acrobat Spider to capture a "demo-session" directly to PDF. Take the PDF-file and the Acrobat Reader along and you client will see your site in all it's beauty. You can actually submit different forms and have them embedded in the PDF-document.

Just a thought
  Tobias
</Adobe-Sales-Pitch>
0
 
LVL 5

Expert Comment

by:nathans
ID: 1835054
I assumed you would want Perl Scripts.  They are ones I can do.

1. Install the PWS if you have not.
    If you have problems with that then let me know.
2. Download ActivePerl from www.activestate.com it is a big file
    Install it.   when it says let it associate things and has check boxes let it do it for you.

Name your perl scripts *.plx  instead of *.pl  Which means you will have to edit any scripts you have and change the .pl to .plx  Then you should be fine.

I have it working right now on my machine.
0
 
LVL 2

Author Comment

by:winwiz
ID: 1835055
Hey thanks Nathans.  You're awesome.  I modified the registry to recognize .plx and .cgi as CGI applications in my browser. It works great!


0
 
LVL 5

Accepted Solution

by:
nathans earned 400 total points
ID: 1835056
Your welcome.  Glad to help... I had to learn it on my own about 3 years ago.  I also had to do more then install.
0
 
LVL 2

Author Comment

by:winwiz
ID: 1835057
thanks again!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question