Posted By

fadehelix on 01/02/11


Tagged

vhost


Versions (?)

Dodawanie vhosta w wamp


 / Published in: Apache
 

URL: http://ynrdeiv.wordpress.com/2009/07/31/lokalne-vhosty-w-wamp-ie/

  1. <VirtualHost *:80>
  2. # domena
  3. ServerName domena.localhost
  4. ServerAlias domena
  5. # katalog na kt�³ry b��dzie wskazywa�� vhost
  6. DocumentRoot "D:/wamp/www/domena"
  7. # przydatna rzecz - oddzielne logi dla wirtualnego hosta
  8. ErrorLog "logs/domena_error.log"
  9. CustomLog "logs/domena_access.log" common
  10. </VirtualHost>
  11.  
  12. <VirtualHost *:80>
  13. ServerName localhost
  14. DocumentRoot "D:/wamp/www"
  15. ErrorLog "logs/error.log"
  16. CustomLog "logs/access.log" common
  17. </VirtualHost>

Report this snippet  

You need to login to post a comment.