# 403 Forbidden after fresh install with Softaculous

**URL:** <https://forum.mautic.org/t/403-forbidden-after-fresh-install-with-softaculous/23891>\
**Category:** Product Support\
**Created:** [April 26, 2022, 1:42pm UTC](https://forum.mautic.org/t/403-forbidden-after-fresh-install-with-softaculous/23891 "2022-04-26T13:42:52Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Shaz3e](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/shaz3e/32/236_2.png) [@Shaz3e](https://forum.mautic.org/u/Shaz3e)\
**Post date:** [September 13, 2022, 3:52pm UTC](https://forum.mautic.org/t/403-forbidden-after-fresh-install-with-softaculous/23891/14 "2022-09-13T15:52:32Z")

</div>

I have just removed comment the following lines in .htaccess and everything is working

```auto
# Apache 2.4+
<IfModule authz_core_module>
    # Deny access via HTTP requests to all PHP files.
    <FilesMatch "\.php$">
        # Comment the following line to avoid 403 error
        #Require all denied
    </FilesMatch>

    # Deny access via HTTP requests to composer files.
    <FilesMatch "^(composer\.json|composer\.lock)$">
        Require all denied
    </FilesMatch>

    # Except those allowed below.
    <If "%{REQUEST_URI} =~ m#^/emails/(index|index_dev|upgrade/upgrade)\.php#">
        Require all granted
    </If>
</IfModule>

```

---

_[View the full topic](https://forum.mautic.org/t/403-forbidden-after-fresh-install-with-softaculous/23891)._
