X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/72d4080a3eafca5f496bad8604233d67411e9dc0..083368eda333698329bc56cddc0cf41a324bb4bd:/README.md?ds=sidebyside diff --git a/README.md b/README.md index 6ef0eed..a5b2352 100644 --- a/README.md +++ b/README.md @@ -101,9 +101,19 @@ You have several options: - Move var folder to a place on your server which can't be directly accessed - Disable automatic listing on your web server config or place a index.html in var's sub-directory (this is a limited solution) -If you are using Apache, you can add the following line to your configuration to prevent people to access to your `var` folder: +If you are using Apache, you can add the following lines to your configuration to prevent people to access to your `var` folder: -`RedirectMatch 301 ^/var-.* http://my.service.jirafeau` +```apache + + Require all denied + +``` + +Or you can put a `.htaccess` file containing this into your `var` folder: + +```apache +Require all denied +``` If you are using nginx, you can add the following to your $vhost.conf: @@ -301,4 +311,6 @@ Feel free to create an [issue](https://gitlab.com/jirafeau/Jirafeau/-/issues) if ### Can I buy you a coffee? -You can [drop few bucks for Jérôme Jutteau](https://www.paypal.com/paypalme/jeromejutteau). +You can [drop few bucks for Jérôme Jutteau](https://www.paypal.com/paypalme/jeromejutteau) + +Many Thanks <3 \ No newline at end of file