Apache: Enable Mod Rewrite: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) New page: Lakukan a2enmod rewrite ==Pranala Menarik== * Apache * Instalasi Apache |
Onnowpurbo (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
a2enmod rewrite | 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== | ==Pranala Menarik== | ||
Latest revision as of 22:12, 5 April 2012
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