Amiga.org

Amiga computer related discussion => General chat about Amiga topics => Topic started by: fx on September 08, 2005, 12:22:23 AM

Title: My Amiga 600 webserver
Post by: fx on September 08, 2005, 12:22:23 AM
Hi all,

I have just set up a webserver on my A600, check it out here (http://viten.mine.nu:8080/).

I will try and add more things to it later on, like a script that shows free memory, uptime and similiar but for now this will do.
Title: Re: My Amiga 600 webserver
Post by: Tomas on September 08, 2005, 12:37:04 AM
nice :)
Title: Re: My Amiga 600 webserver
Post by: --morgan-- on September 08, 2005, 12:44:19 AM
Cool...
Title: Re: My Amiga 600 webserver
Post by: AmigaEd on September 08, 2005, 01:59:44 AM
That is really neat! :-P

If possible please lets us know any tricks that you used in setting it up.

-AmigaEd
Title: Re: My Amiga 600 webserver
Post by: J-Golden on September 08, 2005, 02:42:08 AM
Wow!  That really IS nice!  I'm surprised at how fast it comes up too.

J-Golden
Title: Re: My Amiga 600 webserver
Post by: Failure on September 08, 2005, 02:58:05 AM
In only 2MB of memory, that's just nifty.  I'm guessing you don't have a big fancy backdrop gracing your WB right now :-)

Once when I sold an A3000 on eBay (years ago), I hosted the pics of the machine and etc on the Amiga, and put a link in the auction "click here to see it working".  I got a good price for that old 3000 :-)  I used AWS as well, except it wasn't called AWS then.  It was...um...Rexx something?

Anyway, IMHO running that on an A600 w/2MB blows the doors off that old scenario.
Title: Re: My Amiga 600 webserver
Post by: K7HTH on September 08, 2005, 04:30:05 AM
Absolutely Sweet! I would indeed like to do the same with one of my Amigas. Care to share your setup process to get this baby online?
Title: Re: My Amiga 600 webserver
Post by: fx on September 08, 2005, 10:09:26 AM
Quote

AmigaEd wrote:
That is really neat! :-P

If possible please lets us know any tricks that you used in setting it up.

-AmigaEd


As a matter of fact all I did to get it working was to install the software (AmiTCP and aws on a clean WB3.1 install). At first I tried to run it under Kick 2.0 and Workbench 2.1 but I couldn't get it to work very well, so I'm now softkicking 3.1 (loosing 512kB of precious memory)

I had some trouble finding a good version of aws but one of the authors who worked on aws back in the day was nice enough to send me a copy of aws 2.0b10 which seems to run very well :) . I sent another mail asking if I may offer this version for download, and am still awaiting an answer.
Title: Re: My Amiga 600 webserver
Post by: fx on September 08, 2005, 10:13:52 AM
Quote

Failure wrote:
Once when I sold an A3000 on eBay (years ago), I hosted the pics of the machine and etc on the Amiga, and put a link in the auction "click here to see it working".  I got a good price for that old 3000 :-)  I used AWS as well, except it wasn't called AWS then.  It was...um...Rexx something?


Actually aws is not written in Arexx, so I'm guessing it was some other webserver you used? I tried some Arexx-webservers first but they were very slow compared to this, the A600 is actually able of sending a file in 60kB/sec with this server which I find very impressive :)
Title: Re: My Amiga 600 webserver
Post by: cv643d on September 08, 2005, 11:41:33 AM
It has the same horsepower as a modern broadbandrouter I think. Think if you could run AmigaOS on every router you could actually use it for something.
Title: Re: My Amiga 600 webserver
Post by: BadBigBen on September 08, 2005, 01:38:46 PM
LOL... when I went to that page this is what I got....

Quote
Hello and welcome to Viten!
This machine is a Pentium 3 clocked at 667MHz, and it has 128MB RAM.


Title: Re: My Amiga 600 webserver
Post by: fx on September 08, 2005, 01:48:41 PM
Then you're not connecting on port 8080, I'm redirecting port 8080 to port 80 on my A600.

*edit*
btw, which browser were you using? None of the browsers I have tried have failed to connect on port 8080, or do you have a firewall or something that prevents you from connecting on that port?
Title: Re: My Amiga 600 webserver
Post by: mfilos on September 08, 2005, 03:26:23 PM
Great!
Although it's not a heavy site, only the thought that
you host it on the A600 matters for me!
Am an A600 fanatic and I'm damn happy to see these things.
I hope to see some new stuff soon on the site.

Marios, Athens/GREECE
Title: Re: My Amiga 600 webserver
Post by: Animagic on September 08, 2005, 04:44:26 PM
In case you are intrested i Amiga Web Servers we have one in Greece too.

http://www.amigahellas.gr

It runs on A1200 with Blizzard 1230IV + 68882

kinda slow but it will run on 68060 soon :)))
Title: Re: My Amiga 600 webserver
Post by: TheMagicM on September 08, 2005, 05:12:08 PM
its fast cause its only 1 image and then text...
what all can you do with it? (capabilities of the server itself)?  I have a A600HD I wouldnt mind running this on.
Title: Re: My Amiga 600 webserver
Post by: mikeymike on September 08, 2005, 05:19:51 PM
Quote

fx wrote:
Hi all,

I have just set up a webserver on my A600, check it out here (http://viten.dhs.org:8080/).


That's a damn lie.  That A600 isn't even plugged in!
Title: Re: My Amiga 600 webserver
Post by: fx on September 08, 2005, 05:24:43 PM
Quote

TheMagicM wrote:
its fast cause its only 1 image and then text...
what all can you do with it? (capabilities of the server itself)?  I have a A600HD I wouldnt mind running this on.


I tried many webservers while I was setting up this one and I must say aws is by far the fastest of the ones I tried. I get 60kB/sec on my A600 and when I tried it on my A4000 (description below :) I got 720kB/sec ...

I guess the posibilites are endless since it supports cgi-bins and rexx-scripting, but unfortunately I haven't gotten this to work yet.
Title: Re: My Amiga 600 webserver
Post by: BadBigBen on September 08, 2005, 08:57:05 PM
Quote
Then you're not connecting on port 8080, I'm redirecting port 8080 to port 80 on my A600.

*edit*
btw, which browser were you using? None of the browsers I have tried have failed to connect on port 8080, or do you have a firewall or something that prevents you from connecting on that port?


Port 8080, gives me a Page Load Error... ergo nothing...

I am using Firefox... and my Firewall is not the problem...
Title: Re: My Amiga 600 webserver
Post by: fx on September 08, 2005, 09:12:29 PM
Strange, it seems to work for everyone else, and I'm using Firefox to the test the page on my PC.

By the way, I updated the site and added a small cgi-bin showing current uptime and available memory.
Title: Re: My Amiga 600 webserver
Post by: BadBigBen on September 08, 2005, 09:16:51 PM
Works now....

Uptime 15 min and 29 sec....

He He... last check was 18 min before that...

nice though...
Title: Re: My Amiga 600 webserver
Post by: Coolit on September 08, 2005, 11:07:03 PM
lol this is great  :banana: we should ask Wayne to move A.org to a 600 cluster, 50 x A600HD's or something  :laughing:
Title: Re: My Amiga 600 webserver
Post by: quenthal on September 09, 2005, 01:03:36 AM
Quote

Failure wrote:
I used AWS as well, except it wasn't called AWS then.  It was...um...Rexx something?


Maybe you are thinking about gW3S (http://gonzo.1av10.nu/w3s/), which is written in ARexx?
Title: Re: My Amiga 600 webserver
Post by: Argus on September 09, 2005, 01:23:53 AM
Wonder if the same could done with an A500?  No pcmcia port though....bummer.  
Title: Re: My Amiga 600 webserver
Post by: HyAmi on September 12, 2005, 11:25:24 AM
I was thinking about the same thing too! Is there an "easy" way of connecting something that would enable the Miggy to connect to a standard network? Are there any homebrew solutions that actually work?
Title: Re: My Amiga 600 webserver
Post by: Failure on September 12, 2005, 02:09:21 PM
Quote

quenthal wrote:

Maybe you are thinking about gW3S (http://gonzo.1av10.nu/w3s/), which is written in ARexx?


Yes yes, that's the one.  Wasn't it called something else before?  I remember it switched to a new open source license, which is kinda amusing since it's Arexx anyway :-)
Title: Re: My Amiga 600 webserver
Post by: Framiga on September 12, 2005, 02:49:50 PM
Awesome! about 4 days uptime!

Its a little miracle . . . compliments :-)

Title: Re: My Amiga 600 webserver
Post by: kd7ota on September 12, 2005, 02:57:59 PM
I used AWS when I had my Amiga 3000.  It was fast compared to most.

Great page! Never fails each time I come to visit it.  :-)
Title: Re: My Amiga 600 webserver
Post by: Karlos on September 12, 2005, 03:21:07 PM
@fx

That is cool :-D

Patrik was explaining some CGI stuff he was working on which gave me an idea, although I am not sure how feasable it is.

The biggest overhead for something like the A600 as a webserver with CGI is the running lots of executables to handle stuff.

So I had a silly idea that one could create a normal shared library based CGI system where each library has a 'public' API, but privately is implemented to do different webserver tasks, eg form parsing, guestbook etc.

To run one you OpenLibrary() it, call whatever fuctionality you need from it, then CloseLibrary() it.

The OS would keep these libraries in memory until it needed to flush some, so on the whole, accessing them would be much faster than launching executables.
Title: Re: My Amiga 600 webserver
Post by: Narayan on September 12, 2005, 07:07:38 PM
Quote

fx wrote:
Hi all,

I have just set up a webserver on my A600, check it out here (http://viten.dhs.org:8080/).

I will try and add more things to it later on, like a script that shows free memory, uptime and similiar but for now this will do.


 :elvis:  :hat:  :mickeymouse:  :banana:

Sheer coolness.
Title: Re: My Amiga 600 webserver
Post by: Narayan on September 12, 2005, 07:09:47 PM
The first one I'm getting, right the one from the picture. Hopefully that mouse too.  :afro:
Title: Re: My Amiga 600 webserver
Post by: Narayan on September 12, 2005, 07:11:16 PM
It's actually powerfull machine, I can't tell you more than that. The design is not to say much more, better...

 :roll:  :idea:  :-)
Title: Re: My Amiga 600 webserver
Post by: Narayan on September 12, 2005, 07:11:48 PM
The angle, the angle.

 :-D
Title: Re: My Amiga 600 webserver
Post by: Narayan on September 12, 2005, 07:13:55 PM
Myself have done a small site with the sixhundred. 3-4 pages, small font, boing ball magic wb background. About me, the family and my cat. Mine was cool too.

Html was fast too.

 :pint:  :pint:  :pint:  :pint:  :ak47:
Title: Re: My Amiga 600 webserver
Post by: fx on September 19, 2005, 11:26:14 AM
the amiga 600 webserver has a new hostname, because the old one stopped working and dhs.org wanted me to pay money to reactivate it. here's the new host: http://viten.mine.nu:8080/ (http://viten.mine.nu:8080/)
Title: Re: My Amiga 600 webserver
Post by: Narayan on September 19, 2005, 12:32:44 PM
Well now it's gone, you know that much.
Title: Re: My Amiga 600 webserver
Post by: Ryu on September 19, 2005, 12:55:37 PM
I run an A1200 webserver too, with a Blizz 030 mkIII with 32MB of ram..

It runs thttpd, rc-ftpd and miamitelnetd among other things. Oh and it lives under my bed, only way I admin it is by telnetting into it :-)

Ive yet to get round to doing a stats page etc, but it does run a few websites, one of which is www.amiga.kicks-ass.org/newscag/ which is my usergroups website.

Oh and as for uptime, it'll stay up as long as I dont get an urge to play around with ixemul stuff :-)

Title: Re: My Amiga 600 webserver
Post by: Doobrey on September 19, 2005, 02:31:08 PM
Quote

Argus wrote:
Wonder if the same could done with an A500?  No pcmcia port though....bummer.  


You could always hack the A500's side expansion slot into a ZorroII slot (Aminet hack (http://main.aminet.net/package.php?package=hard/hack/2000slot.lha) ) and install a ZII ethernet card. It won't be cheap or pretty, but it'll work.
Title: Re: My Amiga 600 webserver
Post by: fx on January 02, 2006, 12:35:37 PM
Hi everyone,
Just wanted to say that I have now reached 100 days of uptime with my A600 :-)
Title: Re: My Amiga 600 webserver
Post by: motorollin on January 02, 2006, 12:46:43 PM
Congrats - does this mean you get a telegram from the Queen?  :-)

--
moto
Title: Re: My Amiga 600 webserver
Post by: Ryu on January 02, 2006, 01:55:53 PM
very cool, I got my 1200 to 76 days, then we went away for a week and Dad flicked the master power switch... so I lost the uptime :-/

Anyhoo, for those interested I've created a nice stats page for my server:

www.amiga.kicks-ass.org

Keep meaning to look into getting a message board on it, but im lazy :-)
Title: Re: My Amiga 600 webserver
Post by: fx on January 02, 2006, 02:58:00 PM
hi, nice stats page, but it looks a little messed up in Opera :/ ... I made a screenshot which is quite high (and 827 pixels wide) but since it's only 27kB I'll post it here in the forum anyway...

(http://viten.mine.nu/pic/a1200web.png)
Title: Re: My Amiga 600 webserver
Post by: Dr_Righteous on January 02, 2006, 04:56:56 PM
@FX

Dig the uptime on your li'l server man... 100 days! Well, 101 in a few minutes...