Hak Akses folder /var/www/

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Hak Akses folder /var/www/

Postby foodz » 09 May 2013, 20:18

Assalamu'alaikum sahabat Ubuntu Indonesia.. :)

Saya Mau tanya nih,,,
Mengapa ya,, Setelah memindahkan sebuah folder secara manual dg menjadi super user.. ke var/www/ (misal saya akan mindahin wordpress/ joomla / drupal / folder hasil belajar php saya..)

kok tidak bisa di akses di browser ??
http://localhost/wordpress [misalnya]
http://localhost/belajar/index.php [misalnya]

#mohon pencerahannya sob.. :)
#belum paham hak akses||newbie brusha memahami ^^
trims
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: Hak Akses folder /var/www/

Postby q_p » 09 May 2013, 23:56

Ambil contoh, misalnya wordpress
1. apakah sudah terinstall = apache2 mysql-server libmysqlclient15-dev libphp-adodb libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear unzip ?
2. Wordpress
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Hak Akses folder /var/www/

Postby foodz » 12 May 2013, 14:53

sudah terinstall webservernya,, :)
cmn yang bermasalah itu spt hak aksesnya...
ketika ingin menjalankan wordpress atu kumpulan file2 belajar.php di folder [misal :belajar] muncul

Forbidden

You don't have permission to access /sisma/ on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: Hak Akses folder /var/www/

Postby q_p » 12 May 2013, 18:15

foodz wrote:sudah terinstall webservernya,, :)
cmn yang bermasalah itu spt hak aksesnya...
ketika ingin menjalankan wordpress atu kumpulan file2 belajar.php di folder [misal :belajar] muncul

Forbidden

You don't have permission to access /sisma/ on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80

Anda bisa ceck ownership-nya dengan 'ls -lah' dan bisa merubahnya dengan 'chown -R www-data:www-data /var/www/sisma'
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Hak Akses folder /var/www/

Postby foodz » 14 May 2013, 21:39

terimakasih atas bantuannya :D
alhamdulillah sudah bisa... :) hehhe
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: Hak Akses folder /var/www/

Postby q_p » 14 May 2013, 21:48

Sama2 :)
Solved

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 3 guests