![]() |
How do I?
|
.htaccess
|
|
Question: That link you provided, do i have to share this my administator?
Because I'm planning to create only for administrator to use that feature. The password is not working >_> |
the username/(masked-password) goes in the .htpasswd file, the info for the .htaccess file is different.
Ie, htpasswd file contents: path to file = /usr/local/.htpasswd webmaster:V9N01L01/xROE <-- Generate your own passwd Ie, .htaccess file content: path to file = /home/username/public_html/forums/admincp/.htaccess AuthUserFile /usr/local/.htpasswd AuthName "Enter your login info" AuthType Basic require valid-user |
Anyone can use it if they know the login
|
I got it, I got my host to generate one for me ;)
The link provided didn't help. |
If you have shell access, here is the command to generate and set the passwd by typing it yourself at the prompt, like adding a normal user from a shell.
If your vhosting, set the path to your vhost username dir, ie /home/username/.htpasswd htpasswd -c /path/to/dir/for/.htpasswd desiredusernamehere |
All times are GMT. The time now is 02:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|