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


After giving the installation of wamp or xampp server many time we face problem when you try to access localhost in browser.

Permission Problem in Wamp Server

“Forbidden  You don’t have permission to access / on this server” – This is a common problem for many users. But actually it is very easy to solve this issue. You need to do following things.

  1. Click on wamp / xampp —> apache –> httpd.config
  2. Search and find out   #   onlineoffline tag – don’t remove
                                         Order Deny,Allow
                                        Deny from all
                                        Allow from  
  3. Add, Allow from ::1 under Allow from
  4. If there is no Allow from then add this line also.
  5. Restart the server and bingo!

Please let me know if there any issue!