Dodawanie vhosta w wamp


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  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>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.