Apache: Membuka Sebuah Folder ke Web

From OnnoWiki
Revision as of 11:37, 17 January 2015 by Onnowpurbo (talk | contribs) (New page: Untuk membuka sebuah folder ke web, misalnya /var/www/pustaka Tambahkan di vi /etc/apache2/sites-enabled/000-default.conf Kata-kata <Directory /var/www/pustaka/> Options I...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Untuk membuka sebuah folder ke web, misalnya

/var/www/pustaka

Tambahkan di

vi /etc/apache2/sites-enabled/000-default.conf 

Kata-kata

<Directory /var/www/pustaka/>
       Options Indexes FollowSymLinks MultiViews
       AllowOverride All
       Require all granted
       allow from all
</Directory>

Ubah ijin

chmod -Rf 650 /var/www/pustaka/