page: route requests through global php handler
[minimedit.git] / .htaccess
diff --git a/.htaccess b/.htaccess
new file mode 100644 (file)
index 0000000..ef206d7
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,6 @@
+RewriteEngine  on
+RewriteBase    /
+
+# common php handler
+RewriteCond    %{REQUEST_FILENAME} !-f
+RewriteRule '' page.php%{REQUEST_FILENAME} [L]