Wednesday 24 April 2013

Forbidden You don't have permission to access / on this server While IIS and WAMP installed i faced

I have configure my Apache by myself and try to load phpMyAdmin on virtual host, but received "403 Forbidden You don't have permission to access / on this server".


ANS
Are you using Wamp Server then try this...
*Single click on the WAMP server icon at taskbar
*Select the option put online
*Your server will restart automatically
*Then try to access your localwebsit
To run in both ways

http://localhost/phpmyadmin/

http://192.168.136/phpmyadmin/

Edit this file. Previously localhost or Machine_IP permission do't consider.

Best Solution

Change the file content of c:\wamp\alias\phpmyadmin.conf to the following.
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
        Allow from all
</Directory>
Here my WAMP installation is in the c:\wamp folder. Change it according to your installation.
Previously, it was like this:
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</Directory>
Restart your Apache server after making these changes.

share|improve this answer

visti this link for further details.
--------------------------------------------------------------------------------------------------
http://stackoverflow.com/questions/8366976/wamp-error-forbidden-you-dont-have-permission-to-access-phpmyadmin-on-this-s


solution :1

Wamp server 2.4 Installed and test for machine IP address 192.168.1.36
 Error: Forbidden
You don’t have permission to access /mysql/ on this server.


httpd.config file
---------------------
# "c:/wamp/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "c:/wamp/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

-----
#   onlineoffline tag - don't remove
     Order Allow,Deny
     Allow from all
     
Solution 1.2
I have installed wamp on machine A. When I am on the local server that I installed it on I can access PHPMyAdmin from [127.0.0.1] or [localhost]
But I want to be able to access it from my computer and when I type in IP address of the Server I can see the pages I have put in but when I type [192.168.0.3], PHPMyAdmin comes up saying
Forbidden
You don’t have permission to access /mysql/ on this server.

Solution:
Go to C:\wamp\alias. Open the file phpmyadmin.conf and add

Options Indexes FollowSymLinks MultiViews
Allow Override all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from MACHINE_IP



solution : 2

httpd.conf (restarted it afterwards)

Though localhost/phpmyadmin works fine..
I got this in my httpd.conf

<Directory /home/renat/www>
AllowOverride All
Options +Indexes +FollowSymLinks
Order allow,deny
Allow from all
</Directory>

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName fabbro.fm
    DocumentRoot /home/renat/www/fabbro
</VirtualHost>




solution 3


DocumentRoot "/var/www/html"

<Directory "/var/www/html/">
    AllowOverride all
    # Allow open access:
    Require all granted
    Options Indexes FollowSymLinks Multiviews
</Directory>

No comments:

Post a Comment