demenvil/starter-public-edition-4/master/www/admin-example/.htaccess
<IfModule mod_headers.c>
# Disable URL indexing by crawlers
Header set X-Robots-Tag "noindex, nofollow, noarchive"
</IfModule>
<IfModule mod_rewrite.c>
#Options +FollowSymlinks
#Options +SymLinksIfOwnerMatch
RewriteEngine On
DirectoryIndex index.php index.html
#RewriteBase /
# Asset loader: When file not exists on local application "assets" folder,
# it is tried to be loaded from the common "assets" folder.
RewriteCond %{REQUEST_URI} /assets/
RewriteCond %{REQUEST_URI} .(js|css|less|gif|bmp|ico|jpg|jpeg|jpe|mov|qt|mp3|xml|mp4|m4v|mpeg|mpg|pdf|png|swf|tif|tiff|wav|wma|wri|zip|eot|svg|ttf|woff|woff2|lang)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^assets/(.*) ../assets/$1 [L,QSA]
# Search favorite icons at the upper directory if not found at the current.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)favicon.ico$ $1../favicon.ico [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)apple-touch-icon.png$ $1../apple-touch-icon.png [L]
# Remove index.php segment from the URL.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !.php$
RewriteCond $1 !^(index.php|robots.txt|favicon.ico|apple-touch-icon-precomposed.png)
# Modified by Ivan Tcholakov, 23-OCT-2014.
# Avoiding "No input file specified" error.
# See http://expressionengine.stackexchange.com/questions/11672/no-input-file-specified-htaccess/13376#13376
#RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
RewriteRule ^(.*)$ ./index.php?/$1 [L,QSA]
#
# http://www.controlstyle.com/articles/programming/text/if-mod-since-php/
# for php5-cgi
<IfModule mod_fcgid.c>
RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]
</IfModule>
<IfModule !mod_fcgid.c>
# for Apache FCGI installations
<IfModule !mod_php5.c>
RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]
</IfModule>
</IfModule>
</IfModule>
On Github License
Files