Want to start learning Apache configuration settings. Start with these settings:
Server root. All files conf, htdocs, etc under it.
ServerRoot "C:/Program Files/Apache Group/Apache2"
Keep connection alive time:
Max. request accepted keep alive request:
Keep Alive timeout:
Registered DNS name, or IP address here
DocumentRoot: The directory out of which you will serve your documents.
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
Set rights available to directory through server. Here is the d
Make .htaccess file work for you.
It can be "All" or "None". It can be any combination of these Options FileInfo AughConfig Limit.
Set the file that Apache will serve if a directory is requested. This will hide you directory structure. Default value is this:
DirectoryIndex index.html index.html.var
Change it to:
DirectoryIndex index.html index.php index.html.var
Control files access based on the name and extension.
<Files ~ "^\.ht">
Deny from all
All file names starts with ".ht" will be denied by Apache.
Default charset for all the pages serverd by your server.
Customize error response send by apache.
ErrorDocument 403 /forbidden.html
Set multiple site host on a single server: