Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nutricula's avatar

New Spark Install - Login and Registration are returning 404

I just created a new project with the latest version of Spark, and for some reason both the login and the registration pages result in 404s. I did update my web server configuration to point the the public directory within Laravel, and confirmed the correct url is in the app.config file. Any thoughts?

0 likes
2 replies
nutricula's avatar

Any thoughts on this? I did my original install on Nginx, however just brought up a fresh DO box with Apache and the result is the same. I have went over the install guide a few times, however can't get this resolved. I am able to create a new Spark project just fine, and the default page loads without an issue, however clicking on the registration or login button results in a 404.

nutricula's avatar
nutricula
OP
Best Answer
Level 1

Derp. Didn't have Apache Rewrite installed/enabled.

Running this resolved the issue: sudo a2enmod rewrite

sudo service apache2 restart

Please or to participate in this conversation.