Description
There's an access .htaccess
file that is meant to be copied to your project root when you are using the public web folder. However, it does not. The file exists, but there's no project-files
extra directive for it in recipe-core's composer.json file.
This is probably because we're afraid it might conflict with the public-files
one when you're not using the public web root.
This means that a project set up only with recipe-core (without silverstripe/installer
) will not work out of the box with SSP if using the public web root.
Steps to reproduce
- Create an empty folder
- Add an empty public folder
- Initialise a composer file
- Require
silverstripe/recipe-core
Expected result: recipe-core
's root .htaccess
has been copied to root of my empty project and my project is deployable to SSP.
Actual result: There's no .htaccess
file in my project root and if I try to deploy it to SSP, I'll get a 403 Forbidden error.