Skip to content

Commit 1c46577

Browse files
author
Oleksii Korshenko
authored
MAGETWO-88258: [Forwardport] Add RewriteBase directive template in .htaccess file into pub/static folder #13788
2 parents 125bb55 + 6c0b00c commit 1c46577

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)