Jetzt started httpd nicht mehr mit dem Fehler
c:\xampp\apache\bin>httpd -t
AH00526: Syntax error on line 46 of C:/xampp/apache/conf/extra/httpd-vhosts.conf:
DocumentRoot takes one argument, Root directory of the document tree
Die Zeile bezieht sich auf
- Code: Select all
DocumentRoot "C:/xampp/htdocs/matthias" # change this line with your htdocs folder
aus dem Abschnitt
- Code: Select all
<VirtualHost local-matthias.dev>
ServerAdmin admin@localhost.com
DocumentRoot "C:/xampp/htdocs/matthias" # change this line with your htdocs folder
ServerName local-matthias.dev
ServerAlias local-matthias.dev
<Directory "C:/xampp/htdocs/matthias">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *>
ServerAdmin admin@localhost.com
DocumentRoot "C:/xampp/htdocs" # change this line with your htdocs folder
ServerName localhost
ServerAlias localhost
<Directory "C:/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
was für mich keinen Sinn ergibt.