Hier mal ein auszug auser meiner vhost config:
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName URL1
ServerAlias URL1
ServerAdmin -
DocumentRoot "C:/xampp/htdocs/URL1"
ServerName URL1
CustomLog C:/xampp/apache/logs/URL1.log combined
ServerSignature On
<Directory "C:/xampp/htdocs/URL1">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName URL2
ServerAlias URL2
ServerAdmin -
DocumentRoot "C:/xampp/htdocs/URL2"
ServerName URL2
CustomLog C:/xampp/apache/logs/URL2.log combined
ServerSignature On
<Directory "C:/xampp/htdocs/URL2.cx">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName URL3
ServerAlias URL3
ServerAdmin -
DocumentRoot "C:/xampp/htdocs/URL3"
ServerName URL3
CustomLog C:/xampp/apache/logs/URL3.log combined
ServerSignature On
</VirtualHost>
<Directory "C:/xampp/htdocs/URL3">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>