I can't set the vhost config for a subdomain. When I put something in it like
<VirtualHost *:80>
ServerName redmine.website.de
ServerAdmin webmaster@localhost
DocumentRoot /usr/share/redmine/public
</VirtualHost>
and reconfigure vhost I get the error message
<VirtualHost> cannot occur within <VirtualHost> section
I have look through every config file, apache2.conf, httpd.conf and through all files in /sites-xxx. The syntax is always correct.
When I put a </VirtualHost>
at the top:
Any idea how I can solve this?