Sasha
Sasha

Reputation: 8705

Connect to localhost from another computer in network

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?

Upvotes: 2

Views: 7158

Answers (2)

Kibe Paul
Kibe Paul

Reputation: 1

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

Upvotes: 0

Pulkit Goyal
Pulkit Goyal

Reputation: 5654

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>

Upvotes: 2

Related Questions