You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fariz Luqman edited this page Oct 10, 2017
·
3 revisions
Apache is supported since version 0.1.0
URL Rewrite
# deny executing .php files directly
<Files *.php>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Files>
# allow executing only index.php
<Files index.php>
Order Allow,Deny
Allow from all
</Files>
# rewrite if not exist to index.php
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
PHP
StupidlySimple Framework requires at least PHP 5.6