Advertisement
Max13

Utopiie

Jun 7th, 2011
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. HOSTS
  2.  
  3. 192.168.56.18 www.comptable.fr
  4. 192.168.56.18 www.secretaire.fr
  5. 192.168.56.19 www.design.fr #Y'a 2 IP sur ton serveur ?
  6.  
  7. ---
  8.  
  9. httpd - http://httpd.apache.org/docs/2.2/fr/vhosts/examples.html
  10.  
  11. <VirtualHost 192.168.56.18:80>
  12. DocumentRoot /var/www/sites/comptable/
  13. ServerName www.comptable.fr
  14. </VirtualHost>
  15.  
  16. <VirtualHost 192.168.56.18:80> # Pas besoin de port différents si tu mets un servername normalement ;)
  17. DocumentRoot /var/www/sites/secretaire/
  18. ServerName www.secretaire.fr
  19. </VirtualHost>
  20.  
  21.  
  22. <VirtualHost 192.168.56.18:80>
  23. DocumentRoot /var/www/sites/design/
  24. ServerName www.design.fr
  25. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement