ORStudios
ORStudios

Reputation: 3233

Symfony 4 - Getting 404 error when looking for URL on remote site

I have a local Symfony project that is running great, I have just however moved it over to the remote and run composer. Now it finds the "welcome screen" without an issue but If I then try and look for a controller using a URL I am getting 404 errors and all the controllers functions.

Have I missed something?

Upvotes: 0

Views: 320

Answers (1)

ORStudios
ORStudios

Reputation: 3233

Ok just in case anyone else has this issue, with Symfony 4 and Apache I need to run the following command

composer require symfony/apache-pack

as stated here Configuring a Web Server

Upvotes: 2

Related Questions