Error 403. Wamp Server

余生颓废 提交于 2019-12-03 02:38:12
dardarlt

Putting server online in contect menu did not help me. If you are using Wamp server 2.2E you will find the lines in your httpd.conf file

#   onlineoffline tag - don't remove
Require local

Change them to to

#   onlineoffline tag - don't remove
Require all granted

This solved my problem.

snork3ls

Cut and paste:

Error 403 Forbidden with phpmyadmin and WAMP Server
Error 403
-----
Forbidden
You do not have permission to access / on this server.

Edit the Apache configuration file httpd.conf and find the lines:

# onlineoffline tag - don't remove

Order deny, allow
Deny from all
Allow from 127.0.0.1

Change them to:

Order allow, deny
Allow from all 

It works.

You can change 127.0.0.1 to ::1 or change Deny from all to Allow from all in the httpd.conf file. I have a blog about this error on Windows 8 at http://www.webtrunghieu.info/site?p=21

You may also have a .htaccess file within your www directory which is causing this error. Be sure to check that.

Go to C:/Windows/System32/drivers/etc/host

find the "#127.0.0.1 localhost" line and uncomment it by removing the # sign

It is possible that you get an 'access denied' message even when you are logged in as an administrator.

To work around that, right click on your file editing software and click run as administrator.

You should be able to save the file then

Localhost should work just fine after that.

I tried solutions posted here, but did not work to get wamp 2.2 started on windows 8 machine. This link from wamp server forum solved issue. I needed to change "Listen 80" to "Listen 0.0.0.0:80" in httpd.conf file. This may be an issue specific to my machine but the solution worked like a charm.

just need put your wampserver online
in tray right-click on wamp icon and Put Online

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!