Ok Guys setting some protected files..
created the .htaccess file inside folder set to be protected folder.
created the .htpasswd file inside the folder to hold the password information.
Set both .htaccess and .htpasswd files to 644.
Set password folder to 711.
Didn't set permissions on the protected files folder, it's default is 755.
Now I placed just a gif file in the folder with the .htaccess file to test. I type in the url to goto the file and I get this error:
Error 403! Access denied
The directory or file you tried to access has been blocked from public access. Please try again, or inform the webmaster if you believe this is an error.
Now my question is should I not be promted to enter a user name and password to get to this file instead of the error message. However I never created a user name and password input page, do I need to do this and make it the index page for the .htaccess page? Or does the server automatically do this for you when you try to enter?
Guys please set me straight and get me going on this, first one so sorry for being dumb.
carlsatterwhite@orlandomediasolutions.com
created the .htaccess file inside folder set to be protected folder.
created the .htpasswd file inside the folder to hold the password information.
Set both .htaccess and .htpasswd files to 644.
Set password folder to 711.
Didn't set permissions on the protected files folder, it's default is 755.
Now I placed just a gif file in the folder with the .htaccess file to test. I type in the url to goto the file and I get this error:
Error 403! Access denied
The directory or file you tried to access has been blocked from public access. Please try again, or inform the webmaster if you believe this is an error.
Now my question is should I not be promted to enter a user name and password to get to this file instead of the error message. However I never created a user name and password input page, do I need to do this and make it the index page for the .htaccess page? Or does the server automatically do this for you when you try to enter?
Guys please set me straight and get me going on this, first one so sorry for being dumb.
carlsatterwhite@orlandomediasolutions.com