Connect to a local host from another computer on the network

I installed WAMP on one computer and I want to connect to phpmyadmin from another. When I print, in the browser 192.168.1.2/localhost I received the following message:

Forbidden You do not have permission to access the local host on this server.

I 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?

+2
source share
2 answers

You should try it without localhost. Therefore, if you use phpmyadmin on localhost like localhost:8080/phpmyadmin, then you should do192.168.1.2:8080/phpmyadmin

UPDATE:

Change the contents of the file

c:\wamp\alias\phpmyadmin.conf

:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
        Allow from all
</Directory>
+2
source

I changed phpmyadmin.conf and Appache httpd.conf to

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

and then restarted the server. It worked well enough.

thank

0

All Articles