Versionsunterschiede von Test Server / Setting Up Virtual Hosts
26 | %%echo -e 'DocumentRoot "srv/www/htdocs/site1"\nServerName "www.linuxhelp1.com"' > /etc/apache2/conf.d/vhost.conf %% | 26 | %%echo -e 'DocumentRoot "srv/www/htdocs/site1"\nServerName "www.linuxhelp1.com"' > /etc/apache2/conf.d/vhost.conf %% |
---|---|---|---|
27 | 27 | ||
28 | Did it work? | 28 | Did it work? |
29 | %% cat /etc/apache2/conf.d/vhost.conf | 29 | %% cat /etc/apache2/conf.d/vhost.conf%% |
30 | %% | ||
30 | DocumentRoot "srv/www/htdocs/site1" | 31 | DocumentRoot "srv/www/htdocs/site1" |
31 | ServerName "www.linuxhelp1.com" %% | 32 | ServerName "www.linuxhelp1.com" %% |
32 | 33 |