Skip to content

Instantly share code, notes, and snippets.

@jehoshua02
Created February 22, 2014 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jehoshua02/9162275 to your computer and use it in GitHub Desktop.
Save jehoshua02/9162275 to your computer and use it in GitHub Desktop.
Simple single point entry index.php configured in .htaccess file.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*$ index.php [NC,L]
@NewEXE
Copy link

NewEXE commented Oct 21, 2021

I created simple carcase for realizing Front controller pattern: https://github.com/NewEXE/single-entry-point-php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment