[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gforth] New Forth web server
From: |
Robert Wilkinson |
Subject: |
Re: [gforth] New Forth web server |
Date: |
Thu, 27 Oct 2016 14:47:46 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Oct 27, 2016 at 02:17:53PM +0200, Bernd Paysan wrote:
> Am Donnerstag, 27. Oktober 2016, 11:44:11 CEST schrieb Robert Wilkinson:
> > Hello
> >
> > I downloaded this, and saw one executable file in the httpd
> > directory.
> >
> > I tried to run it, and saw ...
> >
> > address@hidden ~/s/c/httpd> ./colono.fs
> > redefined accept ar: `u' modifier ignored since `D' is the default
> > (see `U')
> >
> > in file included from *OS command line*:-1
> > colono.fs:29: error 3305
> >
> > >>>httpserve<<<
> >
> > Backtrace:
> > $7F86D984EE40 throw
> > $7F86D984F2A0 bind-addr
> > $7F86D9866678 server-listen
> > address@hidden ~/s/c/httpd> ar --version
> > GNU ar (GNU Binutils for Debian) 2.27
> > Copyright (C) 2016 Free Software Foundation, Inc.
> > This program is free software; you may redistribute it under the
> > terms of
> > the GNU General Public License version 3 or (at your option) any
> > later version.
> > This program has absolutely no warranty.
> > address@hidden ~/s/c/httpd> gforth --version
> > gforth 0.7.3
> > address@hidden ~/s/c/httpd>
> >
> > Am I doing something wrong?
> >
> > An enclosed README file for the project would be useful to others?
>
> Binding to address 80 requires root permission.
>
> --
> Bernd Paysan
> "If you want it done right, you have to do it yourself"
> net2o ID: kQusJzA;address@hidden(dQ*
> http://bernd-paysan.de/
Hello
I thought that it would bind to a user-bindable port having looked
at the examples.
address@hidden ~/s/c/httpd> grep POST ../examples/form.html
<form action="http://localhost:4004/post" method="POST">
address@hidden ~/s/c/httpd>
I had tried running the server as root and see :
address@hidden:/home/bob# ./colono.fs
bash: ./colono.fs: No such file or directory
address@hidden:/home/bob# cd src/colono-code/httpd/
address@hidden:/home/bob/src/colono-code/httpd# ./colono.fs
redefined accept ar: `u' modifier ignored since `D' is the default
(see `U')
in file included from *OS command line*:-1
colono.fs:29: error 3305
>>>httpserve<<<
Backtrace:
$7F4A722FCE40 throw
$7F4A722FD2A0 bind-addr
$7F4A72314678 server-listen
address@hidden:/home/bob/src/colono-code/httpd#
Bob
--
"If you want to know what happens to you when you die, go look at some dead
stuff."
-- Dave Enyeart