Skip to content

Commit 6c0b00c

Browse files
MAGETWO-88258: [Forwardport] Add RewriteBase directive template in .htaccess file into pub/static folder #13788
- Merge Pull Request #13788 from nmalevanec/magento2:2.3-develop-PR-port-13678 - Merged commits: 1. b314608
2 parents c166940 + b314608 commit 6c0b00c

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)