Skip to content

feat: add OpenLiteSpeed rewrite rule for protected files #3259

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

Merged
merged 1 commit into from
Mar 29, 2025

Conversation

kaspernowak
Copy link
Contributor

  • Added a rewrite rule to block direct access to sensitive files (.env, .log, artisan) for OpenLiteSpeed environments.
  • Retained the existing block for Apache compatibility.
  • Ensures that both Apache and OpenLiteSpeed users have proper protection for protected files.

- Added a rewrite rule to block direct access to sensitive files (.env, .log, artisan)
  for OpenLiteSpeed environments.
- Retained the existing <FilesMatch> block for Apache compatibility.
- Ensures that both Apache and OpenLiteSpeed users have proper protection for protected files.
@cuneytsenturk cuneytsenturk added this to the 3.1.17 milestone Mar 29, 2025
@cuneytsenturk cuneytsenturk merged commit febb4ed into akaunting:master Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants