SEDCI/ws-gcfnw/master/.htaccess
Options -Indexes +FollowSymLinks
RewriteEngine On
RewriteBase /rocky/gcf2/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
<IfModule mod_php5.c>
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# the following is for rewritting under FastCGI
<IfModule !mod_php5.c>
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
#<IfModule mod_rewrite.c>
# <IfModule mod_negotiation.c>
# Options -MultiViews
# </IfModule>
#
# RewriteEngine On
#
# # Redirect Trailing Slashes...
# #RewriteRule ^(.*)/$ /$1 [L,R=301]
#
# # Handle Front Controller...
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^(.*) index.php/$1 [L]
#</IfModule>
Header always append X-Frame-Options DENY
Header set X-XSS-Protection 1
Header set X-Content-Type-Options nosniff
On Github License
Files
Download PDF of Htaccess file