Skip to content

Commit 464b374

Browse files
author
Stanislav Idolov
authored
MAGETWO-88277: [Backport 2.1] Add RewriteBase directive template in .htaccess file into pub/static folder #13812
2 parents 00e2266 + 4496e61 commit 464b374

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pub/static/.htaccess

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Options -MultiViews
1212
<IfModule mod_rewrite.c>
1313
RewriteEngine On
1414

15+
## you can put here your pub/static folder path relative to web root
16+
#RewriteBase /magento/pub/static/
17+
1518
# Remove signature of the static files that is used to overcome the browser cache
1619
RewriteRule ^version.+?/(.+)$ $1 [L]
1720

0 commit comments

Comments
 (0)