No description, website, or topics provided.
Clone or download
Pull request Compare This branch is even with assertchris-tutorials:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
templates
.gitignore
code-of-conduct.md
composer.json
contributing.md
helpers.php
license.md
readme.md
routes.php
server.php

readme.md

Getting Started

$ git clone git@github.com:assertchris-tutorials/icicle-http-server.git
$ cd icicle-http-server
$ composer install
$ php server.php

You'll also need to create an Apache virtual host, with the following rewrite directives:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) http://%{SERVER_NAME}:9001%{REQUEST_URI} [P]

This will transparently forward all requests for missing files to port 9001 (where the icicle server is waiting to receive them).