[dev] quark and werc

From: Jacob Todd <jaketodd422_AT_gmail.com>
Date: Fri, 9 Apr 2010 15:35:19 -0400

According to hg changeset 13 in the quark repo, quark can run werc. I'm not
sure if I've done something wrong in my configuration, or if there's something
missing in quark, but whenever I try to go to 127.0.0.1 (werc installation is
local), I get the following:

Fri Apr 9 19:18:01 2010: CGI SERVER_NAME=127.0.0.1 SCRIPT_NAME=./werc.rc REQUEST_URI=/
Fri Apr 9 19:18:01 2010: 127.0.0.1 requests: /
Fri Apr 9 19:18:01 2010: CGI SERVER_NAME=127.0.0.1 SCRIPT_NAME=./werc.rc REQUEST_URI=/
Fri Apr 9 19:18:01 2010: 127.0.0.1 requests: /

Which is supposed to be good, but I'm getting blank pages in both surf and opera.

My config.def.h is the following:
static const char servername[] = "127.0.0.1";
static const char serverport[] = "80";
static const char docroot[] = "/var/www/localhost/sites/localhost";
static const char docindex[] = "index.md";
static const char user[] = "nobody";
static const char group[] = "nobody";
static const char cgi_dir[] = "/var/www/localhost/bin";
static const char cgi_script[] = "./werc.rc";
static const int cgi_mode = 1;

static const MimeType servermimes[] = {
    { "html", "text/html; charset=UTF-8" },
    { "htm", "text/html; charset=UTF-8" },
    { "css", "text/css" },
    { "txt", "text/plain" },
    { "text", "text/plain" },
    { "png", "image/png" },
    { "gif", "image/gif" },
    { "jpg", "image/jpg" },
    { "iso", "application/x-iso9660-image" },
    { "gz", "application/x-gtar" },
    { "pdf", "application/x-pdf" },
    { "tar", "application/tar" },
};

Has anyone else had problems like this?

-- 
I am a man who does not exist for others.

Received on Fri Apr 09 2010 - 19:35:19 UTC

This archive was generated by hypermail 2.2.0 : Fri Apr 09 2010 - 19:48:01 UTC