From 6d3ce1d38378d64858b5aceee4f2058064918762 Mon Sep 17 00:00:00 2001 From: Nathan Lasseter Date: Wed, 10 Oct 2012 20:16:44 +0100 Subject: Examples --- .htaccess | 1 + README | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 5c502fc..043a3e5 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,7 @@ RewriteEngine on RewriteRule ^post/(.*)$ /viewpost.php?post=$1 +#RewriteRule ^post/(.*)$ /blog/viewpost.php?post=$1 AuthType Basic diff --git a/README b/README index feffaa4..ada44fc 100644 --- a/README +++ b/README @@ -4,9 +4,12 @@ PHP blogging software Released unlicensed +The software is set up for FS root /var/www/ and Server Root / +There are examples for /var/www/blog/ and /blog/ + Installation: * Clone the repo * Create a posts directory * Edit settings.php to your liking * Create a .htpasswd file for posting users -* Edit .htaccess to point to .htpasswd +* Edit .htaccess to point to .htpasswd and to perform the redirect correctly -- cgit v1.2.3