Difference between revisions of "Apache: Membuka Sebuah Folder ke Web"
Jump to navigation
Jump to search
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...) |
Onnowpurbo (talk | contribs) |
||
Line 20: | Line 20: | ||
chmod -Rf 650 /var/www/pustaka/ | chmod -Rf 650 /var/www/pustaka/ | ||
+ | chown -Rf www-data.www-data /var/www/pustaka |
Latest revision as of 07:22, 23 January 2015
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/ chown -Rf www-data.www-data /var/www/pustaka