2017-03-09 10:26:47 +08:00
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerName sample.dev
|
2017-04-24 02:44:18 +08:00
|
|
|
DocumentRoot /var/www/sample/
|
2017-03-09 10:26:47 +08:00
|
|
|
Options Indexes FollowSymLinks
|
|
|
|
|
2017-04-24 02:44:18 +08:00
|
|
|
<Directory "/var/www/sample/">
|
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>
|