I thought of writing a really minimal web-site front end, that would only
look at incoming http requests and forward them to other processes,
possibly on other machines, depending on the site name or pther parts of
the URL. But then I thought, surely that must have been done already?
And surely, someone would have made it into a Debian package already?
Any recommendations?
-- hendrik
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
04-20-2008, 07:38 PM
Eduardo M KALINOWSKI
website front-end
Hendrik Boom wrote:
> I thought of writing a really minimal web-site front end, that would only
> look at incoming http requests and forward them to other processes,
> possibly on other machines, depending on the site name or pther parts of
> the URL. But then I thought, surely that must have been done already?
> And surely, someone would have made it into a Debian package already?
>
Yeah, it's called 'apache'.
--
Reserve your abuse for your true friends.
-- Larry Wall in <199712041852.KAA19364@wall.org>
Eduardo M KALINOWSKI
ekalin@gmail.com
http://move.to/hpkb
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
04-20-2008, 07:47 PM
Thierry Chatelet
website front-end
On Sunday 20 April 2008 21:38:00 Eduardo M KALINOWSKI wrote:
> Hendrik Boom wrote:
> > I thought of writing a really minimal web-site front end, that would only
> > look at incoming http requests and forward them to other processes,
> > possibly on other machines, depending on the site name or pther parts of
> > the URL. But then I thought, surely that must have been done already?
> > And surely, someone would have made it into a Debian package already?
>
> Yeah, it's called 'apache'.
>
>
Sure of you: What about apache2 ?
Thierry
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
04-21-2008, 11:32 PM
Hendrik Boom
website front-end
On Sun, 20 Apr 2008 16:38:00 -0300, Eduardo M KALINOWSKI wrote:
> Hendrik Boom wrote:
>> I thought of writing a really minimal web-site front end, that would
>> only look at incoming http requests and forward them to other
>> processes, possibly on other machines, depending on the site name or
>> pther parts of the URL. But then I thought, surely that must have been
>> done already? And surely, someone would have made it into a Debian
>> package already?
>>
> Yeah, it's called 'apache'.
I was under the impression that apache did a lot more than just relay
http requests; that in fact said relaying is but a small fraction of its
activities. Is there nothing smaller?
-- hendrik
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
04-22-2008, 04:59 AM
"Owen Townend"
website front-end
On 22/04/2008, Hendrik Boom <hendrik@topoi.pooq.com> wrote:
On Sun, 20 Apr 2008 16:38:00 -0300, Eduardo M KALINOWSKI wrote:
I was under the impression that apache did a lot more than just relay
http requests; that in fact said relaying is but a small fraction of its
activities.**Is there nothing smaller?
-- hendrik
Hey,
**Apache can do plenty for you, but if you're after something a little lighter
have a look at
http://en.wikipedia.org/wiki/Tiny_web_servers
One*of*the*smallest*is*micro_httpd[1].
cheers,
Owen.
footnotes:
--
[1]*$ aptitude show micro-httpd
[snip]
Description: really small HTTP server
micro_httpd is a very small Unix-based HTTP server. It runs from inetd, which means its performance is poor. But for low-traffic sites, it's quite adequate.
It implements all the basic features of an HTTP server, including:
* Security against ".." filename snooping
* The common MIME types
* Trailing-slash redirection
* index.html
* Directory listings
All in 150 lines of code. micro_httpd can also be used to serve HTTPS by wrapping it with stunnel.
Homepage: <http://www.acme.com/software/micro_httpd/>
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
04-22-2008, 07:18 AM
Tzafrir Cohen
website front-end
On Tue, Apr 22, 2008 at 02:59:50PM +1000, Owen Townend wrote:
> On 22/04/2008, Hendrik Boom <hendrik@topoi.pooq.com> wrote:
> >
> > On Sun, 20 Apr 2008 16:38:00 -0300, Eduardo M KALINOWSKI wrote:
> >
> > I was under the impression that apache did a lot more than just relay
> > http requests; that in fact said relaying is but a small fraction of its
> > activities. Is there nothing smaller?
Why do you actually need "something smaller"?
I often run into people looking for something "smaller than apache and
end up mimssing an important feature Aapche has.
Lighttpd ("lighty") is a server that comes somewhat close to Apache
feature-wise but is mostly lighter.
I'm trying to understand exactly what it is that you're looking for. If
you just want the web server to run an external process - any
CGI-capable server can do that. Look for a package that provides
httpd-cgi .
If you want it to "transparantly" proxy some requests to a different
server, you need something like Apache's mod_proxy. lighty has a similar
capability.
Of all the lighter-weight HTTPDs that are in Debian, the only other one
I'm aware of that has some proxying capabilities is the httpd applet of
busybox, for the version in Sid. But normally you wouldn't want to mess
with such "light-wieght" servers if you value your time.
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
04-22-2008, 10:03 AM
Chris Bannister
website front-end
On Sun, Apr 20, 2008 at 07:30:16PM +0000, Hendrik Boom wrote:
> I thought of writing a really minimal web-site front end, that would only
> look at incoming http requests and forward them to other processes,
> possibly on other machines, depending on the site name or pther parts of
> the URL. But then I thought, surely that must have been done already?
> And surely, someone would have made it into a Debian package already?
>
> Any recommendations?
Do you know about apt-cache search?
apt-cache search webserver light
or
apt-cache search perl http | wc -l
369
libhttp-server-simple-perl looks interesting.
Description: Simple stand-alone http daemon
HTTP::Server::Simple is a simple stand-alone http daemon. It
doesn't thread. It doesn't fork. It does, however, act as a
simple frontend for any small web service you might care to write.
It also includes CGI support.
--
Chris.
======
"One, with God, is always a majority, but many a martyr has been burned
at the stake while the votes were being counted." -- Thomas B. Reed
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org