The Joel on Software Discussion Group (CLOSED)

A place to discuss Joel on Software. Now closed.

This community works best when people use their real names. Please register for a free account.

Other Groups:
Joel on Software
Business of Software
Design of Software (CLOSED)
.NET Questions (CLOSED)
TechInterview.org
CityDesk
FogBugz
Fog Creek Copilot


The Old Forum


Your hosts:
Albert D. Kallal
Li-Fan Chen
Stephen Jones

minimal webserver

I want to run a simple web server on my linux box.

I don't have root access or anything. 

I don't think I want apache.  Too much, too many files. Too much configuration.

This is on the intranet.  Behind a firewall.

What is the simplest linux webserver with CGI support?
Benny Kravin
Friday, May 11, 2007
 
 
http://www.lighttpd.net/ ?

Though if you don't have root, is it really "your" box?  ;)
KC Send private email
Saturday, May 12, 2007
 
 
No it's not really my box. It's a box I use at work. I'd run on a non-standard port.
Benny
Saturday, May 12, 2007
 
 
Take a look at Abyss Web Server (CGI/FastCGI/etc...). No root access is required and its setup takes a few seconds on Linux:

http://www.aprelium.com/data/doc/2/abyssws-linux-doc-html/start.html
Methy
Saturday, May 12, 2007
 
 
Initial problems with lighty.

No sample.conf in the make install tree.

Copied one over from the src.  It complains about a line
in the conf file that uses a regular expression.  PCRE not compiled in.  Remove.

Point at a perl script with .cgi.  Shows the script text.

Uncomment mod_cgi in conf. Restart. Same.

Recomment mod_cgi in conf. Uncomment config-key cgi.assign.  WARNING: unknown config key on start-up.

Giving up on lighty....
Benny
Saturday, May 12, 2007
 
 
went with apache.  would still like something more minimal.
Benny
Saturday, May 12, 2007
 
 
http://en.wikipedia.org/wiki/Tiny_web_servers

some oddball stuff, but you might find something.
Lenny
Saturday, May 12, 2007
 
 
Try nginx (http://nginx.net/).
English documentation: http://wiki.codemongers.com/Nginx
Ylodi
Monday, May 14, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz