How to make xampp server local for other stations?

Asked

Viewed 315 times

0

I’m doing this on a windows server 2016 but keeps returning error 500 "Internal Server Error" when I type its ip on another local machine

1 answer

3

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

I will assume that on the server this does not occur, that the script runs normally. So probably the error is linked to permissions, or running or folder (suddenly put Everyone with run permission or something like that) I’m also assuming that you’re using a .htaccess basic and that it is also with the right permissions.

It is also complicated if the script uses some include from a folder that is not below the site root. Also check if mysql is using a user who has correct permissions. Don’t forget to check if the firewall is with the proper permissions too.

Just to add, if you want the machines not to use the 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 your server IP. But be careful because it can cause problems in applications that call exactly "localhost" but can be replaced by another term such as "intranet", that is when you open * and enter the address http://intranet it will be actually opening the server page xxx.xxx.xxx.xxx

  • I’m not sure I have all permissions correctly. I tried to enable what I got for Allowoverride All

Browser other questions tagged

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