PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > website front-end
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

website front-end

Réponse
 
LinkBack Outils de la discussion
Vieux 20/04/2008, 20h40   #1
Hendrik Boom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut website front-end

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
  Réponse avec citation
Vieux 20/04/2008, 20h40   #2
Eduardo M KALINOWSKI
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 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
  Réponse avec citation
Vieux 21/04/2008, 05h20   #3
Thierry Chatelet
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 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
  Réponse avec citation
Vieux 22/04/2008, 00h40   #4
Hendrik Boom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 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
  Réponse avec citation
Vieux 22/04/2008, 06h10   #5
Owen Townend
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 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
>
>


  Réponse avec citation
Vieux 22/04/2008, 08h30   #6
Tzafrir Cohen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 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
  Réponse avec citation
Vieux 22/04/2008, 11h00   #7
Chris Bannister
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 04h13.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,15356 seconds with 15 queries