How to make xampp server local to other stations? [closed]

0

I am doing this on a windows server 2016 but it is returning the error 500 "Internal Server Error" when I type the ip of it on another local machine

    
asked by anonymous 28.01.2018 / 22:01

1 answer

2

Error 500 means that there was some error processing the script on the server side.

I'll assume that on the server this does not happen, that the script runs normally. So probably the error is bound to permissions, or execute, or folder (suddenly put everyone with execute permission or something) I'm also assuming that you're using a .htaccess x and that it's also got the right permissions.

It's also tricky if the script uses some include from a folder that is not below the root of the site. Also check if mysql is using a user who has the correct permissions. Do not forget to check if the firewall has the proper permissions as well.

Just to add, if you want the machines not to use server IP, but a "domain name" can edit the file C:\Windows\System32\drivers\etc\hosts and add:

 xxx.xxx.xxx.xxx       localhost 

where xxx.xxx.xxx.xxx is the IP of your server. But be careful because it can cause problems in applications that call exactly "localhost" but you can change it to another term such as "intranet", that is, when you open the * * and enter the address http://intranet it will actually be opening the page server xxx.xxx.xxx.xxx

    
28.01.2018 / 22:29