refactoring and bugfix
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
|
||||
<Directory "/home/USER/Sites/">
|
||||
Options Indexes FollowSymLinks
|
||||
#MultiViews
|
||||
# Allow .htaccess files to override httpd.conf.
|
||||
AllowOverride All
|
||||
# No access allowed.
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
# Except from this machine.
|
||||
Allow from 127.0.0.1
|
||||
Allow from 10.211.55.4
|
||||
Allow from 10.211.55.5
|
||||
Allow from 192.168.1
|
||||
Allow from 169.254
|
||||
</Directory>
|
||||
|
||||
# Point virtual host to our directory.
|
||||
<Virtualhost *:80>
|
||||
DocumentRoot /home/USER/Sites
|
||||
ServerName dev
|
||||
<Directory "/home/USER/Sites">
|
||||
#Require local
|
||||
Require all granted
|
||||
Options +FollowSymLinks
|
||||
</Directory>
|
||||
|
||||
</Virtualhost>
|
||||
Reference in New Issue
Block a user