aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
blob: 5c502fce2ae4690461215c24cb4157e80d0f0f2d (plain)
1
2
3
4
5
6
7
8
9
10
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>