Skip to content

Instantly share code, notes, and snippets.

@drosanda
Created January 22, 2020 06:07
Show Gist options
  • Save drosanda/7c37f2cd33a62d453b6300b2bf234f43 to your computer and use it in GitHub Desktop.
Save drosanda/7c37f2cd33a62d453b6300b2bf234f43 to your computer and use it in GitHub Desktop.
Seme Framework .htaccess basic configuration
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment