Skip to content

Commit

Permalink
moved rewrite base before exploits in .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jan 16, 2015
1 parent 195bdd7 commit 229d3ac
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

RewriteEngine On

## Begin RewriteBase
# If you are getting 404 errors on subpages, you may have to uncomment the RewriteBase entry
# You should change the '/' to your appropriate subfolder. For example if you have
# your Grav install at the root of your site '/' should work, else it might be something
# along the lines of: RewriteBase /<your_sub_folder>
##

# RewriteBase /

## End - RewriteBase

## Begin - Exploits
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Grav
Expand All @@ -19,17 +30,6 @@ RewriteRule .* index.php [F]
#
## End - Exploits

## Begin RewriteBase
# If you are getting 404 errors on subpages, you may have to uncomment the RewriteBase entry
# You should change the '/' to your appropriate subfolder. For example if you have
# your Grav install at the root of your site '/' should work, else it might be something
# along the lines of: RewriteBase /<your_sub_folder>
##

# RewriteBase /

## End - RewriteBase

## Begin - Index
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
Expand Down

0 comments on commit 229d3ac

Please sign in to comment.