I'm stuck.
I'm trying to put a password on a phpBB2 forum; to add to it's security - using .htpassword and .htaccess.
I'm obviously doing something wrong - because whatever I trythere's no prompt for a password.
I installed the forum using these instructions...
http://no.longer.valid/phpwiki/index.php/How%20to%20set%20up%20phpBB%202.0.0%20on%20SME%20Server%205.0%20or%205.1.2I the tried modifying httpd.conf by changing the 93phpbb file to read
Alias /phpBB2 /opt/phpBB2
<Directory /opt/phpBB2>
AuthUserFile /opt/phpBB2/.htpasswd
AuthName ByPassword
AuthType Basic
require valid-user
AddType application/x-httpd-php .php .php3 .phtml
Options Indexes +Includes FollowSymLinks
order deny,allow
deny from all
allow from all
satisfy any
</Directory>
-and then I did this..
[root@e-smith httpd.conf]# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
[root@e-smith httpd.conf]# /etc/rc.d/rc7.d/S85httpd-e-smith restart
also .htaccess in /opt/dev reads
AuthUserFile /opt/phpBB2/.htpasswd
AuthName ByPassword
AuthType Basic
<Limit Get>
require valid-user
</Limit>
And i've used htpasswd to create a .htpasswd file in the /opt/phpBB2 directory and I can confirm that the paswords have been saved to that file.
But nothing's cahnged - no password prompt.