The current Magento 2 source code has a number of different
./.htaccess ./app/.htaccess ./dev/.htaccess ./downloader/.htaccess ./downloader/template/.htaccess ./lib/.htaccess ./pub/.htaccess ./pub/errors/.htaccess ./pub/lib/.htaccess ./pub/media/.htaccess ./pub/media/customer/.htaccess ./pub/media/downloadable/.htaccess ./pub/media/theme_customization/.htaccess ./pub/static/.htaccess ./var/.htaccess
If you do a lot of development with symlinks, you’ll want to watch out for the following
#File: ./pub/static/.htaccess Options None <IfModule mod_php5.c> php_flag engine 0 </IfModule> <IfModule mod_rewrite.c> RewriteEngine Off </IfModule>
That first line (
Options None) will disable Apache’s ability to serve symlinks out of your
I totally didn’t spend an hour debugging my
http.conf files because of this.