diff --git a/.htaccess b/.htaccess index 0039b2c..7b23492 100644 --- a/.htaccess +++ b/.htaccess @@ -1,4 +1,4 @@ RewriteEngine on RewriteBase /~j3parker/ RewriteRule ^pub/(.*) - [L] -RewriteRule ^(.*) /users/j3parker/www/bin/web [L] +RewriteRule ^(.*) bin/web [L] diff --git a/src/config.d b/src/config.d index a133c26..b7f1171 100644 --- a/src/config.d +++ b/src/config.d @@ -3,9 +3,9 @@ const string url_root = "/~j3parker/"; const string site_title = "This is a Title"; const string site_subtitle = "but this is a subtitle"; -const bool nav_tree_vert = true; -const bool nav_tree_chev = true; -const bool page_container = false; +const bool nav_tree_vert = false; +const bool nav_tree_chev = false; +const bool page_container = true; string[string] handlers; diff --git a/src/web.d b/src/web.d index 5013d7d..c5ad886 100755 --- a/src/web.d +++ b/src/web.d @@ -1,5 +1,5 @@ //#!/usr/bin/rdmd -import std.stdio, std.path, std.process, std.file, std.array, std.string, std.algorithm, std.datetime; +import std.stdio, std.path, std.process, std.file, std.array, std.string, std.algorithm, std.datetime, std.ascii; import config; string dweb_root; @@ -65,9 +65,14 @@ void do_header() { html_push("