Versionsunterschiede von Test Server / Setting Up Virtual Hosts
59 | ===Edit configuration file=== |
---|---|
60 | https://de.opensuse.org/Apache |
61 | |
62 | %% sudo cp /etc/apache2/vhosts.d/vhost.template /etc/apache2/vhosts.d/myproject |
63 | |
64 | Example configuration |
65 | %% |
66 | <VirtualHost |
67 | ServerName myproject |
68 | ServerAdmin webmaster@localhost |
69 | DocumentRoot /srv/www/ |
70 | <Directory /srv/www/ |
71 | Options Indexes FollowSymLinks MultiViews |
72 | AllowOverride None |
73 | Require all granted |