So I did all the necessary install steps as far as I can tell according to the Installation guide. I have Flarum installed on my localhost under directory localhost/flarum. But I get an error like this when back end stuff is triggered:
404 Not Found
POST http://localhost/flarum/login
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /flarum/login was not found on this server.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at localhost Port 80</address>
</body></html>
and I was also getting it with the issue being /flarum/api. So did I miss something in the installation? How do I get these folders properly installed? Thanks