Versionsunterschiede von Test Server / Setting Up Virtual Hosts




← Vorherige Änderung
Nächste Änderung →




35 /etc/apache2/conf.d/vhost.conf
36
37 %% sudo su%%
38 %%echo -e 'DocumentRoot "/srv/www/htdocs/myproject"\nServerName "myproject"' > /etc/apache2/conf.d/vhost.conf %%
39
40 Did it work?
41 %% cat /etc/apache2/conf.d/vhost.conf%%
43
44 You should see
45
46 %% DocumentRoot "/srv/www/htdocs/myproject"
47  ServerName "myproject"
48  %%
49