Pick a Free OS

User login


Comanche: For a feel of Apache

And now, configuring the main Website. To avoid too long an article and to prevent you from falling asleep, we keep the discussion restricted only to the main points. You can explore it in extreme detail by looking up at the "docs" file. Click on the default Website properties. In the basic configuration, enter the location for your Document Root Directory, /apache/htdocs, in this case. For the Web server identity, we presume that you have made an entry for it in the "DNS Lookup Table" in "Linuxconf". Make the same entry over here. Also put an e-mail id wherein all the error messages can be sent at. Port 80 is the normal port to listen to for "http" connections, and use the "All available addresses" option for "Address to bind the server". Specify an unique location for maintaining the log files.


Modules are small programs that facilitate and simplify the task of a Webmaster. More the number of modules that you have, more happy and satisfied will be your customers. You can download extra modules from CPAN.org, though around 26 modules come with a standard Apache server. But who's complaining when you can have more!

If you plan to use Virtual WebHosting, then Directory aliases will play an important role. As in Virtual Hosting, it's preferred to use separate "cgi-bin" directories for every new host, (else they all mess up with one another) enter the appropriate paths in the Normal Alias section.

Apache JServe settings should be ignored, unless you have installed JServe for Apache. Make changes only to the Host option and change it's name to the one being used by you.

Most people use Apache in intranet too. Under such cases, check mark the "Enable Proxy Requests" option and enter the Default Domain name (normally Using Cache option will efficiently utilize bandwidth and reduce hopping times "to and forth" your Web server.

Malicious activity such as spams, e-mail bombing, hacking activity should not be ruled out. Use the CGI-Settings for this by enabling option for a separate log file that keeps a track on activities occurring in the "cgi-bin" directory.