Very very basic problem. I'm building a web site at [login to view URL] and can't seem to get .htaccess and .htpasswd to play well together. I have created a "Secret" folder that I want protected. I want to put .htaccess in the secret folder and I want it to be very basic such as:
AuthType Basic
AuthName "Dealers Only Please. Call us to set up an account."
AuthUserFile /var/www/domains/[login to view URL]
require valid-user
I want the .htpasswd file to be in the same directory and have at least one user name and password that allows access to the secret folder.
I will provide the a temporary password that will be needed to access my domain files at MyHosting.com.
I have been told that the absolute path to my files is /var/www/domains/[login to view URL]
Hi
Please check permissions in log messages, you can resolve it yourself, probably apache is unable to read the file .htaccess, you should also enable AllowOverride AuthConfig for the directory.
Regards
Jyotir
$35 USD dalam 1 hari
5.0 (20 ulasan)
4.2
4.2
6 pekerja bebas membida secara purata $582 USD untuk pekerjaan ini
Hi,
i ready start now.
i have read your requirements i am much interested to start this project.
i have completed many projects similar to your requirement successfully.
thanks
Ramcharan
Good day sir,
I can help you with this project and i can work on it right now. I can fix the problem you're having in a couple of minutes.
Best Regards,
Amaral