Skip to content

Commit f44720a

Browse files
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - #21037: [Backport] Added RewriteBase directive template in .htaccess file into pub/media folder (by @ccasciotti)
2 parents ae34e60 + 5bca968 commit f44720a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pub/media/.htaccess

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ SetHandler default-handler
2323
Options +FollowSymLinks
2424
RewriteEngine on
2525

26+
## you can put here your pub/media folder path relative to web root
27+
#RewriteBase /magento/pub/media/
28+
2629
############################################
2730
## never rewrite for existing files
2831
RewriteCond %{REQUEST_FILENAME} !-f

0 commit comments

Comments
 (0)