On 2012-04-13 16:44, Mark Benson wrote:
On 13 Apr 2012, at 15:11, Johnny Billquist <bqt at softjar.se
<mailto:bqt at softjar.se>> wrote:
On 2012-04-13 16:03, Mark Benson wrote:
I'm sure we could work something out. Do you have some experience with
web servers? I have one or two questions that you might help me with...
Also, you could do some work on MIM, where the stack and tools are
already in place...
I work on AMP (apache/MySQL/PHP) for a living. I wouldn't ever claim to
be an expert on web servers but I know how apache works and where to
look up what I don't know ;)
Ah. Hmmm. I'm not sure how much that knowledge helps here, but maybe it might be a
good start anyway.
Right now, there is nothing like the CGI interface of Unix web-servers. It might be
something we could look at. The basic concept of kicking off a subprocess, and using the
output as the result is nothing difficult. More tricky is the question of how to pass
information that in Apache and others are passed as environment variables. Need to think
about that one.
Scripting... Nothing exist yet. You could use IND, I guess, but it's nothing like PHP.
Also, no connection to any database as such from IND. Using a HLL, like BASIC, you can
always play with RMS, which gives you lots of features. Or you could also go to
Datatrieve...
If there is some way of allowing me to work in isolation to the main
code stream I'd happily work on MIM as long as I am not going to screw
up anything.
That's easy. Just copy the .B2S files from [HTTPD] to your own directory, make
changes, compile, and run. You need to change it to use another port (one above 1024), but
then you just run, and it will work for you. Only one connection though, when your program
exits, nothing is listening to the port any longer. You can (of course) just put an outer
loop on the code for your testing purposes. And there are some more tricks you can do, if
you want to. Let me know when/if you do this and I can help.
Long term I would like to roll my own PDP-11/RSX11M+ system to use the
stack and web server on, though.
Definitely. And that would be pretty cool. I have (like I said) a few things I want to
clean up before I start trying to roll a distribution, but it's not that far away...
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic
trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" -
B. Idol
Show replies by date