2017-03-09 10:26:47 +08:00
|
|
|
<VirtualHost *:80>
|
2017-12-18 04:35:31 +08:00
|
|
|
ServerName sample.test
|
2017-05-01 18:36:31 +08:00
|
|
|
DocumentRoot /var/www/sample/public/
|
2017-03-09 10:26:47 +08:00
|
|
|
Options Indexes FollowSymLinks
|
|
|
|
|
2017-05-01 18:36:31 +08:00
|
|
|
<Directory "/var/www/sample/public/">
|
2017-03-09 10:26:47 +08:00
|
|
|
AllowOverride All
|
|
|
|
<IfVersion < 2.4>
|
|
|
|
Allow from all
|
|
|
|
</IfVersion>
|
|
|
|
<IfVersion >= 2.4>
|
|
|
|
Require all granted
|
|
|
|
</IfVersion>
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
</VirtualHost>
|