[Coco] The Coco's first webserver, written in Basic09

Christian Lesage hyperfrog at gmail.com
Thu Dec 31 10:08:47 EST 2009


Nice job. How large is your code now? I will stop hijacking this thread, 
as I believe I said all I had to say. I hope the discussion provided you 
with some ideas on the subject of generating dynamic content and using 
standard authoring tools.

Happy New Year!

Christian

Aaron Wolfe wrote:
> Well it wasn't up for long before I found some problems :)  However, I
> think I really, really fixed it this time.  I'm about to get some
> sleep, we'll see if she's still running in the morning.
>
> I *think* it's also stable enough that it can support telnet users at
> the same time.
>
> The http server now lets you put a regular OS-9 path for the path part
> of the URL.  It currently won't serve the file unless it's name ends
> in .txt or .html, but you can pull up files from any device otherwise.
>
> here's some html in a ram drive:
> http://home.spogbiper.com/r0/drivewire.html
>
> the same file on a drivewire virtual disk:
> http://home.spogbiper.com/x1/wwwroot/drivewire.html
>
> If anyone wants to test serving files, there are many ways to get them
> onto the coco:
>
> use a line editor
>
> use the command:
> wget http://www.someplace.com/somefile.html > /x1/wwwroot/somefile.html
> (also works for ftp urls)
>
> try:
> ftp ftp.someserver.com
>
> (this is an interactive FTP client.  be sure to be in the directory
> you want to save the file in before starting, there's no was to change
> local dir from inside the client yet)
>
> or: just email the file to me
>
> -Aaron
>
>
>   




More information about the Coco mailing list