Difference between revisions of "Apache"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
Ubah | Ubah | ||
<Directory /var/www/> | <Directory /var/www/> | ||
− | + | Options Indexes FollowSymLinks | |
− | + | AllowOverride None | |
− | + | Require all granted | |
</Directory> | </Directory> | ||
Line 13: | Line 13: | ||
<Directory /var/www/> | <Directory /var/www/> | ||
− | + | Options Indexes FollowSymLinks | |
− | + | AllowOverride All | |
− | + | Require all granted | |
</Directory> | </Directory> | ||
Revision as of 12:05, 12 October 2022
Setting htaccess
Edit file
sudo vi /etc/apache2/apache2.conf
Ubah
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
Menjadi
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>