jensvdh / sapphire

Lightweight HTTP webserver written in Ruby.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sapphire Simple HTTP webserver

Sapphire Logo

Webserver Setup

It is recommended to use paths in all the config files! There may be some issues with relative paths. Especially in server root and document root.

A sample httpd.conf and htpassword.conf file are provided.

Once your copy of the repo has been created, install the gems specified in the gem file via bundler:

bundle install

To run the entire test suite:

rspec

To run the web server.

ruby web_server.rb

About

Lightweight HTTP webserver written in Ruby.


Languages

Language:Ruby 65.5%Language:JavaScript 27.2%Language:HTML 5.7%Language:ApacheConf 0.8%Language:Perl 0.4%Language:Shell 0.3%