I am trying to set up a directory so that you need to authenticate before you can view.
I have created the .htaccess file as follows:
AuthName "Your Protected Area"
The DB, tables and fields all exist and the username and password are fine, however i get this error message in the apache error.log:
[Fri Jan 04 22:14:47 2008] [alert] [client 127.0.0.1] C:/xampp/htdocs/xampp/.htaccess: Invalid command 'Auth_MYSQL_Username', perhaps misspelled or defined by a module not included in the server configuration
I have removed the # before the loadmodule mod_auth_mysql line in httpd.conf but i have not added any other config into any httpd files, i think this is where i am going wrong but am not sure.
Any advance would be much appreciated