Using the Apache Web Server

Your Web server is now up and running and allowing requests from the outside world. The default Apache configuration is adequate and correct for most users—

Remember to Set an Appropriate Security Level

When deciding on a security level, remember that if you are using the network capabilities of the X Window System, the Network File Service (NFS), or streaming media tools such as RealPlayer at your desktop, you must choose the Medium security level rather than the High security level.

Remember also to enter exceptions for the ports of any services you're using that require them because any ports you entered are lost each time you use the Security Level Configuration tool.

no need for additional up-front configuration when starting out. The properties of the Web server in its default configuration are as follows:

► Your Web content goes in the /var/www/html directory tree. Note that any files your Web server should deliver must be set to have publicly (all users) readable permissions.

► The contact email address, which is displayed to visitors when errors occur, is [email protected], where hostname is your computer's hostname.

► The default index files, which will be loaded for any visited directory, are index.php, index.html, index.htm, and index.shtml, in that order.

► Your Common Gateway Interface (CGI) /cgi-bin/ scripts should be placed in the /var/www/cgi-bin directory.

► Secure Sockets Layer (SSL) https:/ / connections are supported.

Because your Web server is already online if you've followed the steps outlined thus far in this hour, you can begin copying your content to or creating your content in /var/www/html; any files you place there from now on will be instantly available to the world.

Was this article helpful?

0 0

Post a comment