CPanel hosted Symfony website displays only HTML, fails to load the CSS and JS files
问题 We tried uploading a Symfony5 website on Cpanel, and the website is only displaying the HTML part however the CSS and JS doesn't seem to load . It says "net::ERR_ABORTED 404 (Not Found)" or "Failed to load resource: the server responded with a status of 404 (Not Found)" . We have two .htaccess files one, on the root of the project folder and another one inside the Public folder and the index.php on the public_html folder reads like below: Index.php : include dirname(__FILE__).'/