Difference between revisions of "Apache"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
</Directory> | </Directory> | ||
− | + | Enabled apache mod rewrite | |
− | + | sudo a2enmod rewrite | |
− | |||
+ | Restart apache | ||
+ | systemctl restart apache2 | ||
+ | |||
===Pranala Menarik=== | ===Pranala Menarik=== | ||
[[Apache dan MySQL]] | [[Apache dan MySQL]] |
Latest revision as of 12:09, 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>
Enabled apache mod rewrite
sudo a2enmod rewrite
Restart apache
systemctl restart apache2