Skip to content

Symfony Does Not Work With Apache Web Server | Symfony Version - 6.4.3 | PHP Version - 8.1.28 #54867

Closed Answered by Trismegiste
BharathKumarZiffity asked this question in Q&A
Discussion options

You must be logged in to vote

After the installation of this package, the recipe should copy this file https://github.com/symfony/recipes-contrib/blob/main/symfony/apache-pack/1.0/public/.htaccess into %project_dir%/public

Of course, it's always better to copy those rewriting rules into the site confg stored in /etc/apache/available-sites/ instead of relying on .htaccess

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@BharathKumarZiffity
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by BharathKumarZiffity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants