opened 04:14PM - 01 Mar 22 UTC
bug
needs-triage
configuration
### Mautic Version
4.2.x series
### PHP version
7.4.27
### What brow…sers are you seeing the problem on?
Firefox, Chrome
### What happened?
After performing an upgrade, the site reports an error 403, forbidden.
We upgrade via command line and clear cache and clean permissions as part of the process.
This maybe server specific, but this line in the HTACCESS
https://github.com/mautic/mautic/blob/4.2.0/.htaccess
```
# Apache 2.4+
<IfModule authz_core_module>
# Deny access via HTTP requests to all PHP files.
<FilesMatch "\.php$">
Require all denied
</FilesMatch>
```
Causes the issue, by commenting out
```
<FilesMatch "\.php$">
Require all denied
</FilesMatch>
```
The site loads again.
Prior to this verison 4.1.2 Worked with this in the htaccess file.
### How can we reproduce this issue?
Server
Ubunto 18.04.4 LTS
Server API | FPM/FastCGI
MariaDB
1:10.2.43+maria~bionic
Apache
2.4.52-1+ubuntu18.04+1
NGiNX
1.19.9-1+ubuntu18.04+1
Not sure if this is important, but we have mautic in a subfolder off the domain
eg: domain.com/mautic/
### Relevant log output
```shell
n/a
```
### Code of Conduct
- [X] I confirm that I have read and agree to follow this project's Code of Conduct