Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I was wondering how microweb(IndigoSTAR) could distribute it web server with perl interpreter included in the distribution file. I am planing on doing the same thing, but how so that my CGI's file will be run by perl interpreter that is include in my distibution file.

Replies are listed 'Best First'.
Re: microweb web server
by CountZero (Bishop) on Aug 06, 2004 at 17:46 UTC
    Assuming you want to use MicroWeb as your Webserver and run it on Win32, the docs say:

    Using MicroWeb

    The sample website

    The installation zip file for MicroWeb will create a sample website. To view the sample website run the microweb.exe program. This will automatically start a web browser for viewing the website. The site contains sample html pages, forms and some sample CGI scripts.

    How to create a website for shipping on CD-ROM. Copy the sample website, and add your own html and CGI files. Modify the microweb.ini file if necessary. The sample website contains an autorun.inf which will automatically start the website when the CD is inserted into a drive.

    If MicroWeb will be run on a Win95 system which does not have IE installed, then copy mfc42.dll from your system directory to the microweb directory.

    You must also run MicroWeb on your own PC (i.e. the PC where MicroWeb program is registered) anytime that the default html page for your website is modified. This allows MicroWeb to add or modify an entry in the microweb.ini file. Without this entry, running the website on a non-registered PC will display a message saying "This is an evaluation version..."

    So all you have to do is install MicroWeb on your machine, register it, modify the sample website and burn the whole onto a CD (which will autorun when you put it into a CD-drive)

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Re: microweb web server
by CountZero (Bishop) on Aug 06, 2004 at 17:36 UTC
    Pray, tell us on what OS you want to install it and what webserver you want to include in your file.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law