I have a WebServer (CentOS) with Apache, it has a a Blazor WASP app, if the DocumentRoot
is set directly where the index.html is, the app works, but if it isn't, it will read the index.html and show the loading screen but wont load. To clarify:
Blazor app location: /var/www/sometestfolder/main/wwwroot
WORKS
- httpd.conf:
DocumentRoot "/var/www/sometestfolder/main/wwwroot"
- Site accessed via:
example.com
DOESN'T WORK:
- httpd.conf:
DocumentRoot "/var/www"
- Site accessed via:
example.com/sometestfolder/main/wwwroot
(shows the "Loading... An unhandled error has occurred. Reload