refactoring and bugfix

This commit is contained in:
Bachir Soussi Chiadmi
2016-07-21 17:25:51 +02:00
parent d4da2a7982
commit 870d0c2053
2 changed files with 64 additions and 23 deletions
+28
View File
@@ -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>