Created
May 7, 2019 03:42
-
-
Save cpjeanpaul/6eb802b698b19afa902e27dc8e2221e0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<VirtualHost *:80> | |
ServerName fdm.jp | |
ServerAlias www.fdm.jp | |
DocumentRoot /var/www/fdm.jp/public_html | |
<Directory /var/www/fdm.jp/public_html> | |
Require all granted | |
AllowOverride all | |
</Directory> | |
RewriteEngine on | |
RewriteOptions inherit | |
RewriteRule \.(svn|git)(/)?$ - [F] | |
<IfModule mod_headers.c> | |
Header set X-XSS-Protection "1; mode=block" | |
Header always append X-Frame-Options SAMEORIGIN | |
</IfModule> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment