From: Dylan Lloyd Date: Wed, 13 Feb 2013 08:44:36 +0000 (-0500) Subject: update links and .htaccess for SSL X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=376af28336870450e1e0f3a818a29fb80c7722b5;p=dylansserver.git update links and .htaccess for SSL --- diff --git a/.htaccess b/.htaccess index dc5f0ab..1793730 100644 --- a/.htaccess +++ b/.htaccess @@ -4,6 +4,8 @@ ErrorDocument 404 /404.php RewriteEngine on RewriteRule ^resume$ /res.pdf [L] +RewriteCond %{HTTPS} off +RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteRule ^notes/rss/?$ /index.php?rss=true [L] diff --git a/view/archive.php b/view/archive.php index 073c65f..4231b17 100644 --- a/view/archive.php +++ b/view/archive.php @@ -22,8 +22,9 @@ SyntaxHighlighter.all(); } - + + diff --git a/view/comment.php b/view/comment.php new file mode 100644 index 0000000..44f62fd --- /dev/null +++ b/view/comment.php @@ -0,0 +1,5 @@ +comment as $comment) { + //echo '

' . $comment['text'] . '

'; + } +?> diff --git a/view/note.php b/view/note.php index 367b334..36a3dd2 100644 --- a/view/note.php +++ b/view/note.php @@ -22,8 +22,9 @@ SyntaxHighlighter.all(); } - + + diff --git a/view/page.php b/view/page.php index 72d5edd..10de5f4 100644 --- a/view/page.php +++ b/view/page.php @@ -22,8 +22,9 @@ SyntaxHighlighter.all(); } - + + diff --git a/view/rss.php b/view/rss.php index 7d0c60c..a2ac042 100644 --- a/view/rss.php +++ b/view/rss.php @@ -1,9 +1,9 @@ dylansserver.com/notes/rss - http://dylansserver.com/notes + https://dylansserver.com/notes dylansserver.com/notes/rss - + items as $item) { echo "";