Difference between revisions of "Apache"

From belajarwiki
Jump to navigation Jump to search
(Aditya moved page Apache to Apache dan Mysql)
Tag: New redirect
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Apache dan Mysql]]
+
===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
 +
 
 +
 +
===Pranala Menarik===
 +
[[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


Pranala Menarik

Apache dan MySQL