Versionsunterschiede von Test Server / Setting Up Virtual Hosts
| 27 | 27 | |
|---|---|---|
| 28 | 28 | Did it work? |
| 29 | 29 | %% cat /etc/apache2/conf.d/vhost.conf%% |
| 30 |
|
|
| 30 | ||
| 31 | 31 | |
| 32 | 32 | You should see |
| 33 | ||
| 33 | 34 | %% DocumentRoot "srv/www/htdocs/site1" |
| 34 |
|
|
| 35 | ServerName "www.linuxhelp1.com" %% | |
| 35 | 36 | |
| 36 | 37 | |
| 37 | 38 | ---- |
| 38 | 39 | |
| 40 | ||
| 39 | 41 | /etc/hosts |
| 42 | ||
| 43 | ||
| 44 | /etc/apache2/httpd.conf | |
| 40 | 45 | /etc/apache2/conf.d/vhost.conf |
| 46 | /etc/apache2/vhosts.d/*.conf | |
| 47 | ||
| 48 | ||
| 49 | /etc/apache2/default-server.conf | |
| 50 | ||
| 41 | 51 | |
| 42 | 52 | |
| 43 | 53 | **/opt/lampp/etc/httpd.conf** |