Apache: Enable Mod Rewrite

From OnnoWiki
Revision as of 05:12, 6 April 2012 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lakukan

 a2enmod rewrite

Untuk instalasi social networking yang aman perlu di AllowOverride All

vi /etc/apache2/sites-enabled/000-default
DocumentRoot /var/www
<Directory />
     Options FollowSymLinks
     AllowOverride All
</Directory>
<Directory /var/www/>
     Options Indexes FollowSymLinks MultiViews
     AllowOverride All
     Order allow,deny
     allow from all
</Directory>

Jangan lupa restart Apache

/etc/init.d/apache2 restart

Pranala Menarik