I'm a total beginner to Apache, i installed it on my pc with Windows XP (home edition). Everything seems to be ok but it doesn't understand .htaccess directives (AddType, mod_rewrite) inside my virtual host. What do i need to change in my httpd.conf to do it? Thanks in advance.
See the Apache AllowOverride and Options directives. You will need to set the FollowSymLinks Option, and set AllowOverride to allow both Options and any other functions you want to support, such as FileInfo.
If you are just experimenting and have no great security problems or multiple "users" to deal with, then set AllowOverride all and Options FollowSymLinks.
Also, you'll need to set the name of the htaccess file to "htaccess.txt" or similar in order to get along nicely with Windows' file-naming conventions.
Thanks a lot for your advices but all the above didn't helped. :-(( I tried to put AllowOverride All in the server config context, then in the virtual host context; My Options were already set up to Indexes FollowSymLinks Includes. I tried to set up AccessFileName htaccess.txt and renamed my .htaccess to htaccess.txt, - nothing besides 500 server error! And i know that my .htaccess is right because it works on my hosting server. And it doen't work on my home pc. What could be the reason?