Versionsunterschiede von Test Server / Setting Up Virtual Hosts
23 | 23 | /etc/apache2/conf.d/vhost.conf |
---|---|---|
24 | 24 | |
25 | 25 | %% sudo su%% |
26 |
%%echo -e 'DocumentRoot "srv/www/htdocs/ |
|
26 | %%echo -e 'DocumentRoot "srv/www/htdocs/myproject"\nServerName "myproject"' > /etc/apache2/conf.d/vhost.conf %% | |
27 | 27 | |
28 | 28 | Did it work? |
29 | 29 | %% cat /etc/apache2/conf.d/vhost.conf%% |