-
Notifications
You must be signed in to change notification settings - Fork 31
Apache Support
Fariz Luqman edited this page Oct 10, 2017
·
3 revisions
Apache is supported since version 0.1.0
# 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]
StupidlySimple Framework requires at least PHP 5.6
see HHVM support