Apache Quick httpd.conf Settings
Dang, if you survived SourceForge, congrats; this'll be a breeze. There's a slew of settings that you'll either want to change or uncomment-out (ones that are off in the default apache install). Here's the first things I check in httpd.conf.
Note: if you're running multiple sites on don't forget to add any local domains to your Windows Hosts file!
(see also mod rewrite notes)
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
# set which documents the web server should check for
# when a person doesn't specify the file
<IfModule mod_dir.c>
DirectoryIndex index.php index.htm index.html
default.htm default.html index.cfm
</IfModule>
# you might need some directory aliases, for example:
# http:localhost/counterpunch/ might be:
Alias /counterpunch/ "J:\Projects\counterpunch.org\www\ver02"
# if you use any extensions other than .html, add'em here
AddType text/html .shtml
AddHandler server-parsed .shtml
# each domain on your server should have custom 404 page
ErrorDocument 404 /404.shtml
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
# I've got a couple of dozen test sites here local:
<VirtualHost *:80>
ServerAdmin buzcarterblahblahblahcom
DocumentRoot G:\Projects\Personal\pizzabytheslice.com\www\ver03
ServerName pizza.localhost
ErrorLog logs/pizza.gihugic.com-error_log
CustomLog logs/pizza.gihugic.com-access_log common
</VirtualHost>