Fixing PHPCI so that it'll work in a subdirectory.

This commit is contained in:
Dan Cryer 2013-05-17 17:34:31 +01:00
commit f256db237b
14 changed files with 66 additions and 53 deletions

View file

@ -47,9 +47,10 @@ _**Please be aware that this is a brand new project, in an alpha state, so there
**Apache Example**:
RewriteEngine On
RewriteBase /path-to-phpci
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
RewriteRule (.*)? index.php [L,E=PATH_INFO:/$1]
**Nginx Example**: