Jump to content


Photo

Web server for Macintosh 512K


  • Please log in to reply
54 replies to this topic

#41 uridium

uridium
  • 6502
  • LocationPerth Western Australia

Posted 15 February 2015 - 02:39 AM

Love yer work. Well done :)
 

Also an enjoyable read.



#42 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 16 February 2015 - 03:06 PM

OK, I added some features including HEAD requests. 

http://apple-crapple...w-features.html

 

A server status window is probably next, but it may take a while...



#43 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 17 February 2015 - 11:37 PM

Version 0.7 really works beautiful!

I now get correct headers and can read a head request!

I put it on the Internet and tested

 

 
GET / HTTP/1.1
Host: 128k.macip.net
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cache-Control: max-age=0
 
HTTP/1.0 200 OK
Content-Type: text/html
 
Can't get it going on minivmac with serial support....
Don't know how to get the pppd started well on my virtual Debian....
 

Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#44 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 18 February 2015 - 02:01 PM

minivmac should start pppd if your ttyprog.sh is configured correctly.  do you get any errors in syslog?

 

also, I noticed that I am not seeing all of the html.:

This is made possible by the lightweight TCP/IP stack         <a href="htt[Connection closed by foreign host.]

Does the file really stop there or is the server stopping early?



#45 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 18 February 2015 - 04:05 PM

I found a bug that can cause an incomplete file read on certain size files, which was causing your index.html to not load correctly.

I updated the download :

http://apple-crapple...og-page_19.html



#46 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 18 February 2015 - 04:23 PM

YES!!!!!!!!!! 07.1 does the trick! Now the whole page loads.

Thanks for the update.

Server is live at:

http://128k.macip.net/

 

 

 

I will PM you about my ppp setup for minivmac. It is driving me mad..... I'm debugging now and it seems that the pppd is restarting over and over... Als when I just ask which tty I'm on( remove the pppd part and just run command  tty  )  it loops between /dev/pts/2 and /dev/pts/4. Now way of binding it to just one pts....

Maybe I ca start pppd with one ling command?

Like:

pppd /dev/pts/2 9600 etc etc

 

I asked the maker of this minivmac version, but he just uses slirp and don't know what to do.... OK I come back on this by PM.


Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#47 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 19 February 2015 - 08:01 PM

I'm testing new possibilities with El Whip now. Connected the 512K Mac with LocalTalk and mounted a share.

 

I'm running it from a mounted drive on my MacIPgw virtual machine. This has Netatalk on board. The .html files are on this share so there is endless space and... the possibility of using scripting. As an example I generate a simple page every minute which gives the current date and time. Just to understand the idea.

The server is still running on the 512K Macintosh

Have a look at:

http://128k.macip.net/date.html

 

This is the simple script, date.sh:

 

echo "<html>" >  "/AppleShare/ElWhip 0.071/date.html"

echo "<body>" >> "/AppleShare/ElWhip 0.071/date.html"
echo "`date`">> "/AppleShare/ElWhip 0.071/date.html"
echo "</body>" >> "/AppleShare/ElWhip 0.071/date.html"
echo "</html>" >> "/AppleShare/ElWhip 0.071/date.html"
 
Run it in crontab
 
* * * * * /bin/sh "/AppleShare/ElWhip 0.071/date.sh"
 

 

 

 


Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#48 epooch

epooch
  • 6502
  • LocationSan Diego, CA

Posted 19 February 2015 - 08:12 PM

Cool! The lwip http server does have some support for SSI (server side includes), which I disabled due to memory issues. However, I have saved a lot of ram since I started, so I will give it a try it again. Date/ time would be a good first test.

#49 gavo

gavo
  • 6502

Posted 27 April 2015 - 03:52 AM

wow, sorry, I meant WOW!!

 

Well done, that is an awesome achievement. I havent been around here for a while so have only just learnt of your awesomeness today. I was truly blown away. I'm pretty sure that in past discussion about being able to do something like this on a 128k Mac using Mac OS, the idea was dumped in the "impossible" basket.

 

Excellent work. I look forward to taking some time to read through your blog (not that I'll be able to understand all the technical bits!).

 

Cheers,



#50 68k family

68k family
  • 6502
  • LocationGreen Bay, WI

Posted 15 May 2015 - 04:59 PM

This is very impressive! Best I have ever done was running Eudora on a workgroup server 60 in the late 90's to provide email for almost 1,000 users. I massaged that machine to run it flawlessly until I just couldn't expand the ram to keep up with the traffic - much less have enough storage or disk speed. I wound up converting that machine into a web server with web star and used it for that purpose into the early 2000's - without any trouble. Never occurred to me to try it on a machine still old. I do know of a company with over 150 workstations that still uses a IIci as a DNS and print server.

#51 SE30_Neal

SE30_Neal
  • 6502
  • LocationDroitwich, U.K.

Posted 17 January 2016 - 08:49 AM

This is brilliant, i want to get my se/30 online

#52 mactjaap

mactjaap
  • 6502
  • LocationThe Netherlands

Posted 17 January 2016 - 09:26 AM

YES! It is brilliant, but I would like to know how many people succeeded to get it up and running?
I did, but I'm a hard core fan of Macs and web servers!

Collection: Apple II (ITT 2020), LISA 2, Macintosh 128K, 512K, Plus, ED, SE, Portable, PowerBook 100 and a FastPath5 router.
Looking for TCP/IP over LocalTalk?? I made something very usefull... Look at http://www.macip.net


#53 SE30_Neal

SE30_Neal
  • 6502
  • LocationDroitwich, U.K.

Posted 17 January 2016 - 09:45 AM

I am really impressed, ive been wanting an old mac as a pet project for a while as i had a colour classic at art college back in 1993 so took the plunge and brought an ae/30 off ebay only this week, delivered friday, it has a pds network card not that ive managed to do anything with it yet, especially as i hadnt concidered that the system 7.1 hfs format wasn't compatible with my mac mini (with usb floppy drive) so ive not managed to get any software on to it including the network card driver so i can tell this project is going to take some time and research so im evenmore impressed that you got a 512 setup as a server ;)

#54 Elfen

Elfen
  • 68030
  • LocationNYC, NY

Posted 18 January 2016 - 05:55 AM

There are two books (out of print by now) which answers the questions about providing Web/Internet Service through the Mac OS.

 

PISM - Providing Internet Services via the Mac OS by Carl Steadman, Jason Snell.

Amazon has it used but I do not know of the CD is with it: http://www.amazon.co...c/dp/0201489988

 

Webmaster Macintosh: How to Build Your Own World-Wide Server. Without Really Trying. By Bob Levitus, Jeff Evans.

Amazon has it used but I do not know of the CD is with it: http://www.amazon.co...s/dp/B000OH7VCE

 

Both books are supposed to have a CD of Web Services software from Email to WEB and everything in between for both System 6 and System 7. A minimal machine would be a Mac Plus, though with a tight System 6 you could get it to work on a Mac 512Ke on a floppy drive.

 

Not knocking what those did here. I think it's great. But there is a a lot to do and figure out and these two books explain everything! They are from around 1995, when the Internet was small.... I remember those days!


Amassed a collection of various Macs and PCs that friends are calling my place a Mac museum: 512Ke, Plus, SE/30, IIcx, IIci, Q950, Q800, Q8100, 7100, Biege G3, PB 5300ce,190, 190c, 150, 180, (4) Duo 210, Duo 230, (2) 250, 280, 280c, 2300c, (3) G3 Wallstreet, iBook G3 (Orange), (3) iBook G3 (White), (3) iBook G4, PB G4 (all 12in)

 


#55 mraroid

mraroid
  • 6502
  • LocationIbarra Ecuador (formally from Portland Oregon USA)

Posted 15 June 2017 - 12:26 AM

I just read about this:

 

http://colorclassic.dyndns.org/

 

I have a few older Macs in house. It would be fun to run server software on one of them... 

 

Back in the late 1980s and early 1990s I ran a dial up BBS on the Fido network.  After the WWW was invented, many of us left the dial up fido world and built web servers.  My first server ran on FreeBSD.  After that it was linux (no GUI interface), then I moved to Red Hat.  After that, I found that just about every time I did a security update I would break something.  I even lost a girlfriend over it.  I was running majordomo to give some folks free users groups.  I came home one night to find my server down.  I wanted to fix it because I had so many people out of service.  But my girlfriend at the time thought I needed to spend the evening with her....  Anyway, I have forgotten what little I knew about linux. 

 

I have about 90Mbps up and about the same down.  I have the Mac I am going to use connected via ethernet. It is a Color Classic II and I might update it with a 575 logic board.

 

I just down loaded MacHTTP 2.6  I am doing a fresh install of 7.6.1 on a partition of the hard drive (SCSI2CF) in my Color Classic II.  After that is installed and updated, I will try to install MacHTTP 2.6 and see how far I get.

 

A few questions......

 

Do I need a static IP address to do this?  I thought I read someplace that a work around was available for dynamic addressing - I think this was in the windows world... 

 

Do I need to buy a domain name?  I think I still own one - I have had it for maybe 6/8 years now... But the name I own is not at all related to my 68K Mac hobby.....

 

Any tips appreciated.  I do not know what I am doing so I am just jumping in feet first...

 

mraroid

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users