Forbidden You don’t have permission to access / on this server

12 Rajab 1431 H

Pernahkah mengalami kejadian Error apache pada Linux Ubuntu, seperti dibawah ini?

Forbidden

You don’t have permission to access / on this server

atau pesan Error :

Forbidden

You don’t have permission to access /index.html on this server

Solusinya yang pernah saya lakukan adalah :

Edit pada

$ sudo vim /etc/apache2/sites-available/default

Tambahkah *:80

NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
Sehingga menjadi :
NameVirtualHost *80
<VirtualHost *:80>
ServerAdmin webmaster@localhost
Save!
Restart Apache, menggunakan perintah :
$ sudo /etc/init.d/apache2 restart
Refres browser, maka hasilnya adalah :
It Works!

Moga bisa bermanfaat. :)

3 Responses

  1. mantap! cerdas! emang hacker ini…xixixi

  2. pada pesan seperti itu memang servernya yang down atau gimana ya ?

  3. udah saya ganti dan saya restart tapi kok tetep gk bsa,
    gmna mas caranya

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.