Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect the presence of .htaccess files and display a warning about them being ignored #110

Open
lolautruche opened this issue May 31, 2023 · 1 comment

Comments

@lolautruche
Copy link
Contributor

Documentation already tries to make it clear that we're not using Apache but Nginx for the webserver. Therefore, htaccess files are not taken into account (but it's at the bottom of a very long page).

One idea (starring @gilzow) would be to detect if .htaccess files are present in the codebase with Platformify, and display a warning that they'll be ignored as Platform.sh is using Nginx. We may limit the check to the root and webroot directories.

@gilzow
Copy link
Contributor

gilzow commented May 31, 2023

i think limiting to the root/webroot directories is a perfectly acceptable solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants