You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The fix for this might involved updating recipe-plugin to always start by copying "public-files" and only copy the "project-files" if they don't conflict with the public files we just copied over.
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 noproject-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
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.The text was updated successfully, but these errors were encountered: