I just installed apache and it's working great (so far), but I was just wondering if there's something I need to do so that I can make .htaccess work. I made this .htaccess file in /var/www/XXX/XXX/:
You need to make sure in your httpd.conf file that you allow ConfigOptions (or whatever it is called?) for that directory/site. There are several options available. See the Apache manual.
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
So I can't understand why it won't work. Anyone got a clue?