-# Insert into /etc/apache2/sites-available/bugs.xenproject.org
+<VirtualHost *:80>
+ ServerAdmin webmaster@bugs.xenproject.org
+ ServerName bugs-test.xenproject.org
+
+ DocumentRoot /var/www
+ <Directory />
+ Options FollowSymLinks
+ AllowOverride None
+
+ # Require authentication while we are in beta
+ AuthType Basic
+ AuthName "Restricted"
+ AuthUserFile /srv/xen-devel-bugs/etc/htpasswd
+ Require valid-user
+ </Directory>
+
Alias /test/css/ /srv/test/share/emesinae/css/
Alias /test/static/ /srv/test/var/www/
ScriptAliasMatch /test/bug/.* /srv/test/lib/emesinae/cgi-bin/bug.cgi
SetEnv PERLLIB /srv/test/share/perl/5.10.1/
AuthUserFile /srv/test/etc/htpasswd
</Directory>
+
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
+</VirtualHost>
# Copy to /etc/apache2/sites-available/bugs.xenproject.org
-<VirtualHost bugs.xenproject.org:80>
+<VirtualHost *:80>
ServerAdmin webmaster@bugs.xenproject.org
ServerName bugs.xenproject.org
Options FollowSymLinks
AllowOverride None
-
# Require authentication while we are in beta
AuthType Basic
AuthName "Restricted"