diff options
author | Nathan Lasseter <nathan@4574.co.uk> | 2012-10-10 20:03:21 +0100 |
---|---|---|
committer | Nathan Lasseter <nathan@4574.co.uk> | 2012-10-10 20:03:21 +0100 |
commit | 94c589ed55b20a581810e126b20fdc2d67c68221 (patch) | |
tree | 7d3d84aa3cc291417f667ee48a3fc120b95b2e43 /.htaccess |
Initial commit
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..5c502fc --- /dev/null +++ b/.htaccess @@ -0,0 +1,11 @@ +RewriteEngine on + +RewriteRule ^post/(.*)$ /viewpost.php?post=$1 + +<Files "dopost.php"> + AuthType Basic + AuthName "Secure" + AuthUserFile /var/www/.htpasswd +# AuthUserFile /var/www/blog/.htpasswd + Require Valid-User +</Files> |