var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
I am currently running RedHat Linux 7.1, and I am trying to secure a web directory and the htpasswd command is not working. Does anyone have an idea of why it's not working?
Please let me know..
Having trouble myself
Silly question maybe, but have you checked http://httpd.apache.org/docs/programs/htpasswd.html ?
1) Run /usr/local/apache/bin/htpasswd and create yourself a username/password. This will generate a file called ".htpasswd"
2) Move that file anywhere you like, but make sure it is not web accesible. (outside the "public_html" directory.
3) Create a file named ".htaccess" with the following info in it;
AuthName "My Secret Area"
4) Upload the new .htaccess file into the dir you want to protect and hey presto amigo!
nousername, if the password encryption handled at step 1?