Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a command-line launched HTTP server (à la thttpd -- i.e. which doesn't require system-wide configuration) but which supports generic fastcgi -- preferably which can do its own management of fastcgi servers like apache's mod_fcgid can.

Does such a thing exist?

share|improve this question
up vote 0 down vote accepted

Is there something wrong with just using Apache then, if you like that feature-set?

$ httpd -c $HOME/etc/httpd/httpd.conf

where -c sets the main configuration file to use. See the link above for other options. Note, unless you are root then you can't start services on priviledged ports (< 1024). Other than this, you should be able to use apache to it's fullest in this manner.

Other limitations will include (but this is not an exhaustive list):

  • Inability to run as a different user unless started as root
  • Inability to run fcgi processes as another user, unless that is built into the spawn script with something like sudo.
share|improve this answer
It's the configuration file I was hoping to avoid. – tylerl Sep 20 '11 at 9:10
@tylerl: Most webservers can be run from the command line. nginx is another nice webserver, config file is simple, can do FCGI, infact you have to use FCGI for dynamic content, but it won't manage starting the FCGI servers for you (designed that way for security reasons). If you want to get rid of the configuration file entirely, good luck. I'm not sure such a thing exists; specifying every option on the command line would get... hairy. – Matthew Scharley Sep 20 '11 at 10:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.