Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 403. Wamp Server

Tags:

I have installed wamp server 2.2 I'm using windows 7

When I am online at that time i'm not able to find localhost using WaMp its giving me some Forbidden Error..You Don't have Access kind of error.

But when I disconnect my internet connection, I can get localhost..PHPmyadmin and all feature of WAMP server.

I tried a lot by changing the Apache httpd .conf to Replace All..."Deny all" to "Allow all"but still, i'm not able to get it online.

like image 466
Noman Avatar asked Dec 21 '11 08:12

Noman


People also ask

What causes a 403 error?

The 403 Forbidden error means that your server is working, but you no longer have permission to view all or some of your site for some reason. The two most likely causes of this error are issues with your WordPress site's file permissions or . htaccess file.

How do you fix you don't have permission to access phpmyadmin on this server?

Change the file content of c:\wamp\alias\phpmyadmin. conf to the following. You should remember to set the Allow Directive to allow it from your local machine for security purposes. The directive Allow from all is insecure and should be limited to your local machine.


2 Answers

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.

like image 80
dardarlt Avatar answered Oct 07 '22 22:10

dardarlt


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.

like image 26
snork3ls Avatar answered Oct 07 '22 22:10

snork3ls