# How to censor status.php page?

**URL:** <https://help.nextcloud.com/t/how-to-censor-status-php-page/38040>\
**Category:** ℹ️ Support\
**Created:** [October 1, 2018, 8:26am UTC](https://help.nextcloud.com/t/how-to-censor-status-php-page/38040 "2018-10-01T08:26:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![voxdemonix](https://help.nextcloud.com/letter_avatar/voxdemonix/32/6_22734026db12803ebb3e059622ac3534.png) [@voxdemonix](https://help.nextcloud.com/u/voxdemonix)\
**Post date:** [October 1, 2018, 8:26am UTC](https://help.nextcloud.com/t/how-to-censor-status-php-page/38040/1 "2018-10-01T08:26:04Z")

</div>

It’s possible to censor status.php without break nextcloud ?

Edit : Question stupid, i can respond my own 😛

For HaProxy, add in you Frontend (not advisable if the frontend manage multi vhost) or Backend (advisable).

```
  acl restricted_page path_beg,url_dec -i /status.php
  http-request deny if restricted_page

```

Or if you use apache2 add in your vhost file

```
<Location /status.php>
    Order Allow,Deny
    Deny from all
    Allow from 192.168.1.0/24
</Location>
```

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 8:25am UTC](https://help.nextcloud.com/t/how-to-censor-status-php-page/38040/2 "2024-12-04T08:25:16Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [January 24, 2025, 8:20am UTC](https://help.nextcloud.com/t/how-to-censor-status-php-page/38040/3 "2025-01-24T08:20:58Z")

</div>


