codeguy/Slim — pull request #674 by gzzglc89 (2013-11-11 09:57:07+00:00)
Title: Fixed virtual path with public directory

PATH_INFO was being set to "/" breaking routes.

/
public/
.htaccess
index.php
.htaccess

- /.htaccess -
RewriteEngine on
RewriteCond %{REQUEST_URI} !public/
RewriteRule (.*) /public/$1 [L]

- /public/.htaccess -
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]