1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
| <Directory "D:\EasyPHP-5.3.3.1\www">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
NameVirtualHost *:8888
<VirtualHost *:8888>
# This will become the DocumentRoot path of your website
DocumentRoot "D:\EasyPHP-5.3.3.1\www"
# The name of your website
ServerName 127.0.0.1
<Directory "D:\EasyPHP-5.3.3.1\www">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride Options FileInfo Limit
</Directory>
</VirtualHost>
<VirtualHost *:8888>
# This will become the DocumentRoot path of your website
DocumentRoot "D:\EasyPHP-5.3.3.1\www\rdo"
# The name of your website
ServerName <a href="http://www.domaine.com" target="_blank">www.domaine.com</a>
<Directory "D:\EasyPHP-5.3.3.1\www\rdo">
Order Deny,Allow
Deny from all
Allow from 192.168.1.2
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride Options FileInfo Limit
</Directory>
</VirtualHost>
<VirtualHost *:8888>
# This will become the DocumentRoot path of your website
DocumentRoot "D:\EasyPHP-5.3.3.1\www\rdo"
# The name of your website
ServerName domaine2.fr
<Directory "D:\EasyPHP-5.3.3.1\www\rdo">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride Options FileInfo Limit
</Directory>
</VirtualHost> |
Partager