How to access local server systems by other machines

Asked

Viewed 855 times

-1

I have a machine running several systems through the EasyPHP5.2.10, however, when trying to access these systems through another machine replacing the localhost by my machine address, pages do not open.

I saw that there are some changes that have to be made in the configuration files of php and the Apache, the php.ini and the http.conf to bring up the easyphp open when the address of your machine is searched in the browser. But this already happens.

When I type the address of my machine, it opens that easyphp screen with the folder of all systems. Some open, others not even if there is no difference between them.

I already tried to release port 80 from the firewall and it didn’t work.

Does anyone know how to solve this problem?

This is the page that the user of another machine sees:

inserir a descrição da imagem aqui

  • Didn’t you just ask that question a few days ago and close it as a duplicate? Could you explain why it’s not duplicate and why it made you ask the question again? By the way, the phrase "some open, some do not" became extremely vague. Which open? Which not? What is the difference between them? You did what the question they flagged as duplicate recommended, to free your server on the network?

  • I removed the question and re-asked because it was certainly not a duplicate since none of the "duplicate" questions of mine solved my question. As the question I asked was no longer moving and was classified as a duplicate of another question that does not solve my problem, I thought it best to recreate.

  • I created all the systems in exactly the same way, the only difference was the template, so everyone should either open or not open, but some open and others do not. I’ve searched and found no difference between them.

  • Are all PHP? Using any framework? Projects have the file .htaccess? What appears in server log history when accessing projects that do not open correctly?

  • All are php, use bootstrap for most but the system I don’t use bootstrap is what opens.

  • What about the logs? What is the screen that appears on those that don’t open properly? There are messages on the console? And in the network tab, there is something strange?

  • None of the systems has the . htaccess, I will put in question a picture of the page that the user sees. There is nothing in the console

Show 3 more comments

1 answer

1

You will have to make some changes to your httpd.conf file.

  • Add your IP address just below to the localhost IP address
#Listen 12.34.56.78:80
Listen 127.0.0.1:80 (padrao)
Listen 192.....:80 (IP do seu servidor)
  • Change the access settings to the directories below by commenting on the lines Allow from 127.0.0.1 and Deny from all and add the line Allow from all as in the example.
<Directory "C:/../binaries/home/images_easyphp">
        Options Indexes MultiViews
        AllowOverride None
        Order deny,allow
        #Allow from 127.0.0.1
        #Deny from all
        Allow from all
        Require all granted
</Directory>

<Directory "C:/../binaries/home">
        Options FollowSymLinks Indexes
        AllowOverride None
        Order deny,allow
        #Allow from 127.0.0.1
        #Deny from all
        Allow from all
        Require all granted       
</Directory>

<Directory "C:/../Webserver/modules">
        Options FollowSymLinks Indexes
        AllowOverride All
        Order deny,allow
        #Allow from 127.0.0.1
        #Deny from all
        Allow from all
        Require all granted       
</Directory>
  • So I had already tried to do this and actually opens my page from easyphp on any computer, however, not all the systems inside open.

  • But this is a valid answer to help people who have a similar problem.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.