et-nik / gameap

Game Admin Panel (GameAP) is the opensource game servers control panel.
https://gameap.com
102 stars 23 forks source link

/login doesn't exist, internal server error - web.config #29

Closed SugarD-x closed 4 years ago

SugarD-x commented 4 years ago

The included web.config file in /public is causing an internal server error on my system. When I remove it, going to the website redirects immediately to /login, which does not exist. When I put it back, I receive the internal server error with no redirect or further details. I'm hosting this on Windows Server 2016 x64, with PHP 7.4.2 and Composer installed.

As a side note, it appears that IIS sees the web.config file as corrupt. If I try to change the error page settings in IIS with the web.config file present, it throws an error regarding web.config with a blank description. This goes away if I remove the file.

SugarD-x commented 4 years ago

As an update, I found the problem. IIS requires that the URL rewrite module be installed. This is not mentioned in the web panel installation instructions, (which is mainly written for *nix-based operating systems anyway). It might be worth adding this in there to prevent confusion for users.