| VARIABLE |
RECCOMENDED
VALUE |
REASON
/ NOTES |
| ServerType |
Standalone |
Faster, Apache
is in control of requests, not Inetd. |
| Timeout |
300 |
300 is a good
medium value |
| KeepAlive |
Off |
Keeps load/hammering
down on server |
| Min/Max Spare
Servers, Start Servers |
Set higher
than default if you have a lot of traffic |
If you anticipate
having multiple simultaneous requests, it's better to have servers
waiting for them. |
| BindAddress |
your machine's
IP |
Keeps apache
under control (don't use * ) |
| Port |
80 |
Standard Webserver
port |
| ServerAdmin |
your email
address |
Expect to get
spam here, so don't use your main email |
| ServerName |
either IP address
or the main domain name served by the server |
IP address
is a safe bet. This is what's returned to clients. |
| DocumentRoot |
wherever you
want the main webpage of the server |
/var/www/html
is the default. This page is seen if a nonexistant domain is requested. |
| <Directory> |
Change to same
as DocumentRoot |
These are the
options for the default dir. |
| HostnameLookups |
On for more
detailed logs |
If "On",
apache will reverse lookup IP addresses before putting them in the
logs. |
| NameVirtualHost |
IP address
(:port) |
You MUST have
one of these for each IP address that hosts virtualhosts. Port optional. |