Setting up scibella.local
Xampp config
set up entry into \xampp\apache\conf\extra\httpd-vhost.conf
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/xampp/htdocs/
ServerName localhost
</VirtualHost>
<VirtualHost scibella.local>
DocumentRoot C:/scibella/drupal
ServerName scibella.local
CustomLog “C:\scibella\drupal\logs\scibella.local.access.log” combined
ErrorLog “C:\scibella\drupal\logs\scibella.local.error.log”
<Directory “C:\scibella\drupal”>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/xampp/htdocs/
ServerName localhost
</VirtualHost>
<VirtualHost scibella.local>
DocumentRoot C:/scibella/drupal
ServerName scibella.local
CustomLog “C:\scibella\drupal\logs\scibella.local.access.log” combined
ErrorLog “C:\scibella\drupal\logs\scibella.local.error.log”
<Directory “C:\scibella\drupal”>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Notes:
Have to get the Customlog & Errorlog lines in \xampp\apache\conf\extra\httpd-vhost.conf right .
If you name log files something different from “scibella.local.access.log” and “scibella.local.error.log” then no files created in logs directory
Needs logs directory to exist before launching otherwise apache won’t restart

Leave a comment
Comments feed for this article