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

142

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 127.0.0.1  
  3. Add, Allow from ::1 under Allow from 127.0.0.1.
  4. If there is no Allow from 127.0.0.1 then add this line also.
  5. Restart the server and bingo!

Please let me know if there any issue!

 

Comments

comments