Closed luislobo9b closed 1 month ago
This solves the problem described here: https://discourse.getcockpit.com/t/local-test-with-xampp-fails-with-404-requested-resource-is-not-available-after-install/2932
This is a windows specific issue and would cause issues on linux/unix based webservers (which is recommended)
@aheinze I don’t understand PHP. I just made this solution because it worked for me. But if it's a case of changing a single character, isn't it just a matter of checking that in the code somehow? This literally breaks the application on Windows.
I don't have a windows computer to test, but can you try the following code snippet:
$APP_BASE = trim(str_replace($APP_DOCUMENT_ROOT, '', $APP_DIR), DIRECTORY_SEPARATOR);
Remove the backslash "\" at the beginning of the URL to allow installation in a subdirectory, enable playground and API. (tested on XAMPP)