Skip to content

Commit

Permalink
MAGETWO-88277: [Backport 2.1] Add RewriteBase directive template in .…
Browse files Browse the repository at this point in the history
…htaccess file into pub/static folder #13812
  • Loading branch information
Stanislav Idolov authored Mar 6, 2018
2 parents 00e2266 + 4496e61 commit 464b374
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pub/static/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Options -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On

## you can put here your pub/static folder path relative to web root
#RewriteBase /magento/pub/static/

# Remove signature of the static files that is used to overcome the browser cache
RewriteRule ^version.+?/(.+)$ $1 [L]

Expand Down

0 comments on commit 464b374

Please sign in to comment.