chillu/silverstripe-book/master/12_extending/.htaccess
### SILVERSTRIPE START ### <Files *.ss> Order deny,allow Deny from all Allow from 127.0.0.1 </Files> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} !(.gif$)|(.jpg$)|(.png$)|(.css$)|(.js$) RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] </IfModule> ### SILVERSTRIPE END ###
Files
![QUERY_STRING, REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/chillu/silverstripe-book-12_extending-htaccess-448x250.png)