Created
November 27, 2018 09:56
-
-
Save irkreja/d1aa37146a52181919e10a2ef32f9674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^(.*)$ public/$1 [L] | |
</IfModule> | |
# Disable Directory listing | |
Options -Indexes | |
# block files which needs to be hidden, specify .example extension of the file | |
<Files ~ "\.(env|json|config.js|md|gitignore|gitattributes|lock)$"> | |
Order allow,deny | |
Deny from all | |
</Files> | |
# php -- BEGIN cPanel-generated handler, do not edit | |
# NOTE this account's php is controlled via FPM and the vhost, this is a place holder. | |
# Do not edit. This next line is to support the cPanel php wrapper (php_cli). | |
# AddType application/x-httpd-ea-php72 .php .phtml | |
# php -- END cPanel-generated handler, do not edit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment