Fix 403 Forbidden wampserver tools (PHPmyadmin, sqlbuddy etc) on Windows 8


/ Published in: Apache
Save to your folder(s)

To fix the issue with localhost under Windows 8 giving a 403 error (but working for 127.0.0.1) I did the following:


Copy this code and paste it in your HTML
  1. From the WampServer icon, left click, select Apache > Alias Directories > .../phpmyadmin/ > Edit alias to open the alias configuration file and then changed:
  2.  
  3. <Directory "c:/wamp/apps/phpmyadmin3.5.1/">
  4. Options Indexes FollowSymLinks MultiViews
  5. AllowOverride all
  6. Order Deny,Allow
  7. Deny from all
  8. Allow from 127.0.0.1
  9. </Directory>
  10.  
  11. such that the Allow line became:
  12.  
  13. Allow from 127.0.0.1 ::1
  14.  
  15. That will fix things for phpmyadmin and if you intend to use SQLbuddy or Webgrind then you'll need to make a similar change to their configuration files. Furthermore, if you've modified the Apache configuration (as I had) then you'll to make a similar change to any localhost Allows in httpd.conf too.

URL: http://forum.wampserver.com/read.php?2,110531

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.