Last active
October 12, 2018 04:18
-
-
Save yukikaoru/f2cc2505474b46d916e9f077c8f053b0 to your computer and use it in GitHub Desktop.
VirtualHost template
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
<VirtualHost *:80> | |
ServerName any #12.34.56.78 #anyが使えるらしいがマニュアルで見つからない | |
DocumentRoot /path/to/root/ | |
CustomLog /var/log/httpd/vhost-access_log combined | |
ErrorLog /var/log/httpd/vhost-error_log | |
<Directory /path/to/root/> | |
Require all granted | |
Options FollowSymlinks | |
AllowOverride all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment