2

I have installed WAMP on one computer, and I want to connect to the phpmyadmin from another one. When I type, in a browser, 192.168.1.2/localhost i got following message:

Forbidden You don't have permission to access /localhost on this server.

I have changed this line in Apache:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all * from deny from all
</Directory>

How can I fix this?

Sasha
  • 8,521
  • 23
  • 91
  • 174

2 Answers2

2

You should try it without localhost. So if you access phpmyadmin on localhost as localhost:8080/phpmyadmin then you should do 192.168.1.2:8080/phpmyadmin

UPDATE:

Change the file content

c:\wamp\alias\phpmyadmin.conf

to following:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
        Allow from all
</Directory>
Pulkit Goyal
  • 5,604
  • 1
  • 32
  • 50
0

I changed phpmyadmin.conf and Appache's httpd.conf to

Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all

and then restarted server. It worked quite well.

Thanks

krishna
  • 4,069
  • 2
  • 29
  • 56