Files
cacti/log/index.php
T
Sean Mancini 45656ba65e securing log directory (#2759)
* Create index.php

Blank Index file to prevent browsing to directory

* Update .htaccess

Updated .htaccess file to restrict browsing to .log files and reading the file in the browser as well as added a blank index.php to prevent directory browsing

* Need a redirect to the parent.
2019-06-25 09:43:10 +08:00

4 lines
40 B
PHP

<?php
header("Location:../index.php");