Skip to content

[Bug ?] - install symfony/apache-pack does not create .htaccess file #676

@tdimnet

Description

@tdimnet

Hello there,

I am working on a Symfony 4 application and I am deploying this project to Heroku.

Everything seems to work fine on local but on the dev server, only the route "/" is accessible. The other routes I created give me 404. After looking at the internet I saw it can be because of my Apache Heroku configuration.

The documentation tells me I need to install this package https://symfony.com/doc/current/setup/web_server_configuration.html and it will create a .htaccess into my public directory and it seems that no file is created.

For your information, I am using a Symfony 4.3 version with the buidpack heroku/php and my Procfile is this one: web $(composer config bin-dir)/heroku-php-apache2 public/

I think I am closed to find out what's wrong but it would be great to have your help 😄 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions