Skip to content

Commit

Permalink
Adding back in a rule to match on specific files for .htaccess
Browse files Browse the repository at this point in the history
This is an attempt to fix the issue in #4955.
  • Loading branch information
Hackwar committed Oct 29, 2014
1 parent bb23762 commit bf3ab90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htaccess.txt
Expand Up @@ -62,6 +62,10 @@ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*)$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
Expand Down

0 comments on commit bf3ab90

Please sign in to comment.