On Oct 25, 2010, at 8:29 AM, Tjabring van Egten wrote:

First of all...you are absolute right ....my 512K is a 512Ke with 1024MB ram
on board!

Beats 512K, but that's still going to be a tight fit.

As you told me I looked at LAMP and Genie. I'm affraid that this is too much for a Mac Plus or Mac 512Ke. I tried it on a virtual Mac with System 7.6 on Basilisk II but I got a -192 error. But maybe the bare bone HTTP server
would be a great plan. I could increase my memory on the Plus to 4 MB

You need the '68k' version. The 'std' version is PowerPC only. You could also use '68k@', but it's a good bit larger because it contains debugging code.

With a small C program I mean something like this:
http://www.sics.se/~adam/miniweb/

"Note: this code is *not* intended for actual use, it is only meant for educational purposes!"

Let's stick with MacTCP for now.

I hacked HTTP4Mac with ResEdit to let it listen to HTTP/1.1 calls in stead
of HTT/1.0... thats also crazy..but fun!

You should learn programming.  :-)

Josh


-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected] ]
Namens Joshua Juran
Verzonden: maandag 25 oktober 2010 7:05
Aan: [email protected]
Onderwerp: Re: Web server for System 6

On Oct 24, 2010, at 2:33 AM, Tjabring van Egten wrote:

I'm trying to set op a web server on a Mac Plus or Mac 512K on System
6, so

Are you sure it's not a 512Ke? "The original 512K could accept Macintosh system software up to version 4.1... With the OEM 800 KB Drive and ROM
upgrade kit a 512Ke could accept up to System 6.0.8."

http://en.wikipedia.org/wiki/Macintosh_512K

just for the technical fun. Hosting one page is enough.

I have a bare bones HTTP server and a POSIX layer to run it in, currently ported as far back as System 7.1 on a (virtual) Mac Plus -- except that it only supports Open Transport, not MacTCP. In addition to adding MacTCP support, it would need to be patched for System 6 compatibility, and even then it's not likely to run with less than 4 MB of RAM in its current form.

Though if you just want a static page and not CGI scripts, that simplifies
things...

You might take a look at Lamp (Lamp ain't Mac POSIX). Run it on your Quadra (with Open Transport), choose File->New (which creates a new shell window) and enter `inetd`. That runs httpd on port 80 (and a remote shell server on port 23, so you might want to edit /etc/ inetd.conf first to disable that). The Web document root is /var/ www. You could also try it on a Mac Plus running System 7.5.5, though you'd probably want to quit the Finder: `quit
MACS`.  I don't know if you'll have enough RAM, though.

Lamp (Lamp ain't Mac POSIX)
http://www.metamage.com/lamp/

As I told you I connected a SE and later a Mac Plus to a Quadra via
LocalTalk with IP routing on it. So I can talk TCP/IP over localtalk
and bridge it to and from the Internet.

Red is the rose,
And blue is the sky;
You are insane.
(And so am I.)

If there is some web server software which runs on System 6 I even
could think of connecting a 512K or 512Ke on the Internet.

Besides adding MacTCP support, I'd have to patch Lamp for System 6
compatibility and create a separate distribution which is stripped down to
the bare essentials.  It might even work.

It would also be very
nice if somebody would be able to port some small C program to System
6, but

Do you mean Mac applications, command-line tools, or something else?
And ported from what?

who will be able to do something nowadays...?


I'm sure there's at least one. ;-)

--
-----
You received this message because you are a member of the Vintage Macs group.
The list FAQ is at http://lowendmac.com/lists/vintagemacs.shtml and our 
netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to [email protected]
To leave this group, send email to [email protected]
For more options, visit this group at 
http://groups.google.com/group/vintage-macs

Support for older Macs: http://lowendmac.com/services/

Reply via email to