http://www.perlmonks.org?node_id=980862


in reply to Re^2: How to run a linux/perl-based website on a CD for Windows
in thread How to run a linux/perl-based website on a CD for Windows

Polyglot,

You already have some good answers, but to give you a little idea of what is going on when the browser gives the binary instead of the results of the binary. Most browsers are clients and expect to 'talk' to a server. This is really important when using cgi. What you need to do is install a small server on the CD that will execute your 'cgi-bin' scripts. I have never used it, but I believe CPAN has a Perl server that you might be able to include.

Now if you really are going to charge for this CD, then my next comments are academic.

You are already hosting the application, so the only reason the person from another country would want the CD is to get to your Perl scripts. So my question to the 'tracker' is "Why don't you put a link on your site to my site?" If that isn't acceptable, then just ignore the request.

In the past, I used to offer 'free demos' that could be downloaded by anyone. But when you find your demo being sold on eBay for $5.00 as a real system, you quickly change the policy. Your name will be on it, so many will expect you to support it.

Just a heads up!

Good Luck!

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re^3: How to run a linux/perl-based website on a CD for Windows