I've been working with apache and php for about 6 months so I'm a nube no doubt. Recently I've learned how to set up virtual hosting on my home LAN development machine (WinXP,Apache HTTP2.2). I've set up a virtual host directory, entered the localhost in the Win hosts file, configured the httpd.conf file, in short performed the operations that successfully allow browsers to access the web server root or virtual directories that I've set up, no problem at all. However, I have an .htaccess file in the server root directory that works just fine, but when I put a copy of the same .htaccess file to the virtual host directory then I get an: INTERNAL SERVER ERROR, page displayed when pointing a browser at it, and yes there is an index.php file in the directory. My .htaccess file contains:
#disallow display of file names
options -indexes
This must be a rudimentary problem but I can not find an answer and could use some direction. Also, if there is a good soure, i.e., tutorial or book that gives a novice a good start working with Apache then please feel free to let me know. Thanking you in advance.