Полезная информация

Next Up Previous Contents Index
World Wide Web

4.4 World Wide Web

The World Wide Web is one of the hottest aspects of the Internet today. Red Hat Linux lets you get in on the action in two ways -- as a Web browser, and as a Web server. Let's look at both.

4.4.1 World Wide Web Browsers

A variety of Web browsers are available for Linux, including freely distributable browsers such as Arena, Lynx, and Grail. The most popular commercial browsers are those from Netscape Communications Corporation. And now they're available with Red Hat Linux 6.0! If you selected the netscape-communicator or netscape-navigator packages, you're ready to surf. Enjoy!

4.4.2 World Wide Web Server

If you installed the Apache Web server (from the apache package), then your Web service is already up and running! Just point your Web browser at http://localhost.

The default page shown is /home/httpd/html/index.html. You can edit this file (or completely replace it) to your liking. All the CGI programs, icons, and html pages are stored in /home/httpd, but this can be changed in the apache configuration files, all of which are stored in /etc/httpd/conf/. Logs of all httpd activity are kept in /var/log/httpd/. Setting up your Web site is as easy as adding your own HTML pages and links to the /home/httpd/html/ directory. For more information on customizing your Web server we recommend a reference such as HTML: The Definitive Guide by Chuck Musciano & Bill Kennedy, published by O'Reilly & Associates.

Next Up Previous Contents Index