diff options
-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 |