Skip to content

Apache Support

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

HHVM

see HHVM support

Visit our website for tutorials: stupidlysimple.github.io

Clone this wiki locally