--- /dev/null
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use CGI qw/:standard/;
+use CGI::Carp qw(fatalsToBrowser);
+$CGI::POST_MAX=1024 * 100; # max 100K posts
+$CGI::DISABLE_UPLOADS = 1; # no uploads
+
+use Emesinae::Bug;
+use Emesinae::Common;
+
+require 'common.cgi';
+
+readconfig;
+my $dbh = opendb;
+
+sub fourohfour()
+{
+ my $id = shift;
+ print header( -charset => 'utf-8', -status => '404 Not Found');
+ print start_html(
+ -title => $c{TrackerName} . ": 404 - Not found",
+ -style => { 'src' => $c{StyleSheet} }
+ );
+
+ print h1("404 - Not Found");
+ print p([ "No Message Here...", "Cannot find message at: " .code(htmlsanit(url(-absolute=>1)))]);
+ print end_html;
+ exit(0);
+}
+
+# Not implemented yet.
+fourohfour();
CGIS := CGI/bug.pl \
CGI/bugs.pl \
+ CGI/message.pl \
CGI/common.pl
CSSS := css/style.css
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
+ ScriptAliasMatch /test/message/.* /srv/test/lib/emesinae/cgi-bin/message.cgi
ScriptAlias /test/ /srv/test/lib/emesinae/cgi-bin/bugs.cgi
<Directory "/srv/test/lib/emesinae/cgi-bin">
AllowOverride None
Alias /xen/css/ /srv/xen-devel-bugs/share/emesinae/css/
Alias /xen/static/ /srv/xen-devel-bugs/var/www/
ScriptAliasMatch /xen/bug/.* /srv/xen-devel-bugs/lib/emesinae/cgi-bin/bug.cgi
+ ScriptAliasMatch /xen/message/.* /srv/xen-devel-bugs/lib/emesinae/cgi-bin/message.cgi
ScriptAlias /xen/ /srv/xen-devel-bugs/lib/emesinae/cgi-bin/bugs.cgi
<Directory "/srv/xen-devel-bugs/lib/emesinae/cgi-bin">
AllowOverride None