[Solved] Forbidden You don't have permission to access / on this server
BY deepa.n
6 years ago
4 comments comment

Recently, we came across an error - "Forbidden You don't have permission to access / on this server" while trying to run a new virtual host on our Ubuntu 14.04 machine. The first step to troubleshoot this type of issue would be to check at your Apache error logs as this specific type status can be thrown due to many reasons. Since we have Apache 2.4.7 installed on our system, each virtual host file should have the .conf extension. We corrected the extension also. But the issue was still there. However this information lead us to think on it further and finally we found the reason for the issue.

The access control configuration has changed in the newer version of Apache and many of the old configurations are deprecated in Apache 2.4. The old configuration 'Allow from all' is no more compatible and 'Require all granted' is the new equivalent.

Here are some examples for Apache 2.2 Vs Apache 2.4 access controls.

Apache 2.2 config:

Order allow,deny
Allow from all

Apache 2.4 config:

Require all granted

For fixing the above issue, just replace

Order allow,deny 
Allow from all


Require all granted

in your new virtual host .conf file. Hope this helps. We provide Drupal offshore development services. To know more feel free to contact us.



on 04th April 2007 / by webmaster
Linux is the epitome of the FLOSS model. Technical Solution Linux installation Dewey J. Corl (not verified) access_time 31 Jul 2021 - 15:05 Linux is not ready for the general public! (I am a Ubuntu user). For proof, 1. try to simply print labels on a Dymo label printer. It takes a LOT of work to get to the ease of label printing already available in Windows and Mac. 2. try syncing a modern Palm based PDA. Yes, jpilot and others will sync the main data, but pictures and midi files do not get transferred without a lot of extra setup. These are examples of applications that are not ready for the general public. Since an operating system only supports applications, Linux is not ready to be a common desktop for the general public. While we are waiting for the applications to catch up, keep up the good work!! Anoop John (not verified) access_time 31 Jul 2021 - 15:05 Dewey Yes you may be right. But these are not applications that a common man would use. A common man would use one of these applications - Internet browser, Chat Client, Email Client, Document Writer, Presentation Creator, Spreadsheet Editor, Movie Viewer, Music Player, CD/DVD Writer. Both examples you cited are more specific applications that only a small percentage of the whole population uses. It will take time before those hardware vendors identify the need from their perspective to address the Linux community. Krishnadas (not verified) access_time 31 Jul 2021 - 15:05 Dear Mr Anoop, Thank you very much for the free installation of LINUX done in my PC. I am getting immersed in the LINUX and seeing the versatility. To my surprise, I am able to read one of my old backup CD(wherein lot of my valuable file exist) done in DIRECT CD wizard (a custom cd writing software of Easy Cd creator in WIN98) which could not be read in XP. Installation of old version of easycd creator/direct cd program was not possible in XP. I thought that possible i lost all data. Very pleasant start! Srikanth N. S. (not verified) access_time 31 Jul 2021 - 15:05 Hi Anoop, My friend is thrilled with Ubuntu. One of his grouses with windows was that after OS installation, everything else is to be installed separately which is a real headache. WHereas if u install Linux, everything is installed as a package and he is thrilled to bits! Let linux installation spread in Trivandrum and your service in this direction is highly appreciated. Kepp up the good work Regards. PDA Freak (not verified) access_time 31 Jul 2021 - 15:05 Is it possible to install linux on a packardbell notebook ?

Avi (not verified)
access_time 31 Jul 2021 - 15:05

I just spend the whole afternoon trying to figure out why apache2 won't come up.
I must have gone through 10's of sites.
This is the only one that helped.


Anonymous (not verified)
access_time 31 Jul 2021 - 15:05

That message can also occur in some browsers when a client (user) uses a VPN addon extension in her/his browser & tries to connect to a server which forbids such connections (yes, some servers can be configured to respond with that message when traffic from specific IPs (i..e known VPN servers) are received.

If you are using a VPN, disable it to see if that message disappears.

Gary (not verified)
access_time 31 Jul 2021 - 15:05

Just installed Mac Yosemite 10.10.5.
initially http://localhost worked fine.

After configuring the Virtual Host configuration.
I get the error:
You don't have permission to access / on this server.

Require all granted

That option is set in my httpd.conf

Any suggestions.

Karla (not verified)
access_time 31 Jul 2021 - 15:05

Thank you so very much.