Skip to content

Commit

Permalink
ENGCOM-4167: Added RewriteBase directive template in .htaccess file i…
Browse files Browse the repository at this point in the history
…nto pub/media folder #21036

 - Merge Pull Request #21036 from ccasciotti/magento2:add-rewrite-base-directive-pub-media
 - Merged commits:
   1. 2d4e11f
  • Loading branch information
magento-engcom-team committed Feb 7, 2019
2 parents b46b8be + 2d4e11f commit e0796d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pub/media/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ SetHandler default-handler
Options +FollowSymLinks
RewriteEngine on

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

############################################
## never rewrite for existing files
RewriteCond %{REQUEST_FILENAME} !-f
Expand Down

0 comments on commit e0796d6

Please sign in to comment.