Saturday, 15 January 2011

php - Server error, why this error message appears when i use .htaccess -


When I use the .htaccess file inside the code under the administrator's name

  AuthName "Alertme" is required for the Athlete Basic EtherUserFile / MBS / HTCPwad with valid-user  

and .htpasswd file with the following code

 < Code> Rajasekhar: 66 ACSI 7Ge1A  

When accessing a file in a folder, this server returns a error, The server encountered an internal error Mr. and unable to complete your request

Why is this happening. Most likely that your Apache configuration now allows you * authoring * .htaccess in that directory and / or the location you can make sure that you are seeing error_log for that host, it seems that there will be a row: < [Pc]

  [Mercury December 02 22:13:14 2009] [Warning] [Client xxxx] /path/leading/to/.htaccess: AuthName not  

For a client who tries to access this particular server / directory, "500 inches A server "will appear as an error.

You have to add a "Allow orrothoid AuthConfig" so that Apache accepts the instructions in .htaccess. Details are in Apache Docs.


No comments:

Post a Comment