The Apache open-source software projects, formerly known as the Apache
Group produce an open-source HTTP server called Apache. Apache has been the
most popular web server on the Internet since April of 1996. The February
2001 Netcraft Web Server Survey found that 60% of the web sites on the
Internet are using Apache (around 62% if Apache derivatives are included),
thus making it more widely used than all other web servers combined.
Apache Configuration
How can I detect syntax errors in my config files?
Do this at the command line:
[root@ntbox conf]# /usr/sbin/httpsd -t
To Do:
document using public_html and user.domain.net.
Apache Notes:
Apache is not spawned by inetd or xinetd.
Apache is usually loaded during the network phase of the boostrap.
Apache, like sendmail, runs bound to its respective port.
Apache, like sendmail, should be stopped before network explorations.
-----------------------------------------------------------------------------
Apache ~/public_html:
md public_html
chmod 755 public_html
order allow,deny
allow from all
AllowOverride None
Options -ExecCGI
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
OR
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
order allow,deny
allow from all
order deny,allow
deny from all
Directories should be mode 755, files 644
If you use http://host/~xor no trailing /, it will redirect you to
www.linux.lan, if you append the trailing /, it will go to the
server without a redirect.