aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess1
-rw-r--r--README5
2 files changed, 5 insertions, 1 deletions
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
<Files "dopost.php">
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