# Data directory accessible from the internet

**URL:** <https://help.nextcloud.com/t/data-directory-accessible-from-the-internet/14507>\
**Category:** ℹ️ Support\
**Created:** [June 24, 2017, 6:17am UTC](https://help.nextcloud.com/t/data-directory-accessible-from-the-internet/14507 "2017-06-24T06:17:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![JasonBayton](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jasonbayton/32/297_2.png) [@JasonBayton](https://help.nextcloud.com/u/JasonBayton)\
**Post date:** [June 24, 2017, 9:58am UTC](https://help.nextcloud.com/t/data-directory-accessible-from-the-internet/14507/4 "2017-06-24T09:58:21Z")

</div>

Edit `/etc/apache2/apache2.conf`

Scroll to the directory area and change

```auto
<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

```

To

```auto
<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

```

---

_[View the full topic](https://help.nextcloud.com/t/data-directory-accessible-from-the-internet/14507)._
