Reputation: 2448
I am trying to use .htaccess for my website, but I could not use it. I am unknown on how to use it. I have created .htaccess file.
I am trying to use my custom 404 error message (for now)
From this link I used
ErrorDocument 404 /notfound.html
But it did not work
Also from this I tried things, but could not.
Can anyone walk me through?
What could be permission provided for the file
What is owner for the file.
Is there any setting to be set in any apache/php config file?
I am using Mac OS X.
Upvotes: 0
Views: 423
Reputation: 23321
Read this article about what configurations you have to make in httpd.conf, which is located in:
/etc/apache2/
LINK to article: http://chibimagic.wordpress.com/2009/02/27/apache-htaccess-mac-os-x/
then, you can jump into official apache doc for .htaccess: http://httpd.apache.org/docs/current/howto/htaccess.html
Upvotes: 1