Ik ben bezig met een Virtualhosts.. Hoe kan ik dat het beste aanpakken
dit komt uit de httpd.conf file
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
Nu wil ik dus dat bij http://makingbones.dnsalias.net de documentroot gewoon / is, en bij http://mvn.mine.nu de documentroot bijvoorbeeld /mvn/ is... hoe moet ik dat verder aanpassen..
dit komt uit de httpd.conf file
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
Nu wil ik dus dat bij http://makingbones.dnsalias.net de documentroot gewoon / is, en bij http://mvn.mine.nu de documentroot bijvoorbeeld /mvn/ is... hoe moet ik dat verder aanpassen..