Hi, On 9 April 2010 20:35, Jacob Todd <jaketodd...@gmail.com> wrote: > 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";
docroot should be "/"; > 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? Cheers, Anselm PS: please note that quark is only supposed to be used for quick'n'dirty test purposes ;)