

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
21 messages in org.perl.beginners-cgiRe: Running CGIs offline| From | Sent On | Attachments |
|---|---|---|
| Timo...@hmco.com | Jul 22, 2002 10:05 am | |
| Scot Robnett | Jul 22, 2002 10:18 am | |
| Hughes, Andrew | Jul 22, 2002 10:22 am | |
| David T-G | Jul 22, 2002 11:07 am | |
| Bob Showalter | Jul 22, 2002 11:12 am | |
| David T-G | Jul 22, 2002 11:21 am | |
| Scot Robnett | Jul 22, 2002 11:47 am | |
| tomm...@another.com | Jul 23, 2002 2:35 am | |
| tom...@sonofagun.co.uk | Jul 23, 2002 2:35 am | |
| Scot Robnett | Jul 23, 2002 8:25 am | |
| Bob Showalter | Jul 23, 2002 8:33 am | |
| Timo...@hmco.com | Jul 23, 2002 8:54 am | |
| Timo...@hmco.com | Jul 23, 2002 9:19 am | |
| Naika - EV1 | Jul 23, 2002 2:24 pm | |
| Omar Shariff | Jul 24, 2002 6:02 am | |
| Connie Chan | Jul 24, 2002 9:27 am | |
| Bob Showalter | Jul 24, 2002 9:27 am | |
| Omar Shariff | Jul 24, 2002 9:49 am | |
| Hytham Shehab | Jul 26, 2002 4:26 am | |
| Octavian Rasnita | Jul 26, 2002 7:26 pm | |
| Hytham Shehab | Jul 27, 2002 4:19 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: Running CGIs offline | Actions... |
|---|---|---|
| From: | David T-G (davi...@justpickone.org) | |
| Date: | Jul 22, 2002 11:07:09 am | |
| List: | org.perl.beginners-cgi | |
Timothy --
...and then Timo...@hmco.com said... % % I'm interested in taking a website, composed of HTML and perl cgis and % moving it offline. I want to burn it to a CD that will run on Mac and PC, % Explorer and Navigator. Are there tools to do this sort of thing? A % browser-based perl interpreter? A CGI faker?
I hate to just add a "me too", but that's basically all this is. I doubt that you'll find what you seek, but I'm interested if you do.
The problem is that a web server is much more than just a script and your browser; the web server code is what calls the script, hands it the environment, and takes the results and ships them to your browser. Without it you're just looking at file:/// static pages; you can have the browser run a script (or I'd be much happier in a couple of other projects). Your best bet for ultimate portability is (I hate to say it) javascript (oooh, I feel so dirty), but even it can't do everything that a perl (or even php, also interpreted by the web server even though it's written in your .html page) script can.
The closest thing to what you seek, I think, is some standalone little web server that runs on your various platforms, handles any calls to scripts, and so on. That, while non-trivial, seems like it could be written (even in perl, of course!) so all you'd need would be
- perl package for every OS/arch you have in mind (so it'll run from CD) - some script that helps you find the proper version, I imagine - this magic perl web server - your web site content - all of your scripts, rewritten to find the proper perl from the CD
and away you go. This magic script, in order to have a browser talk to it without knowing the difference, would have to grab port 80 (or maybe 8888 or whatever; it's your choice) and talk to the internal network, which could be tricky on, say, a Win box with no network stack loaded, and I'm sure it could be dumb enough to not have to talk off the box (but it might be nice to make it smart enough to not talk off the box so that nobody can hit you while this is running).
You know, it never hurts to check CPAN; maybe someone has already written a little web server in perl :-)
% % Thank you for whatever you say!
HTH & HAND
:-D -- David T-G * It's easier to fight for one's principles (play) davi...@justpickone.org * than to live up to them. -- fortune cookie (work) davi...@justpickone.org http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!







