Hi All,
I am trying to implement errorDocument for my local apache server under windows, I am experiencing difficulty implementing under httpd.conf, so I stumbled across the .htaccess solution. I would like to know can .htaccess files be recognised in windows, if so what will I need to take into consideration as my .htaccess file is not being recognised too.
For your into here is my .htaccess:-
fileAuthUserFile "c:\home\admin\security.users"
AuthName "phpMyAdmin"
AuthType Basic
ErrorDocument 404 "\error_page.html"
Parts of MY HTTPD.CONF
ServerName 127.0.0.1
2) local redirects
ErrorDocument 404 /error_page.html
ErrorDocument 403 /error_page.html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
Currently, I am still getting the default error page.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, colin@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.22 Server at localhost Port 80
Thanks in advance,
Colin