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
ANS
Are you using Wamp Server then try this...
*Single click on the WAMP server icon at taskbarTo 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.
Here my WAMP installation is in the c:\wamp folder. Change it according to your installation.Previously, it was like this:
Restart your Apache server after making these changes.-------------------------------------------------------------------------------------------------- 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
solution 3
|
No comments:
Post a Comment