diff options
author | Nathan Lasseter <nathan@4574.co.uk> | 2012-10-10 20:16:44 +0100 |
---|---|---|
committer | Nathan Lasseter <nathan@4574.co.uk> | 2012-10-10 20:16:44 +0100 |
commit | 6d3ce1d38378d64858b5aceee4f2058064918762 (patch) | |
tree | a4090e0753dffde4046a67be44907e2d95877867 | |
parent | 94c589ed55b20a581810e126b20fdc2d67c68221 (diff) |
Examples
-rw-r--r-- | .htaccess | 1 | ||||
-rw-r--r-- | README | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,7 @@ RewriteEngine on RewriteRule ^post/(.*)$ /viewpost.php?post=$1 +#RewriteRule ^post/(.*)$ /blog/viewpost.php?post=$1 <Files "dopost.php"> AuthType Basic @@ -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 |