read htaccess file apache settings code example Example: adding htaccess file apache <Directory "/var/www"> AllowOverride All </Directory>