Apache Web Server Performance – Article Example

Download full paperFile format: .doc, available for editing

6.If you want your server to handle Server Side Includes (SSI), use a text editor (like Notepad) to open "C: \Program Files\Apache Group\Apache\conf\httpd. conf". Search for "server-parsed HTML files" in the file, and add the following lines (or uncomment the example lines in the configuration file by removing the prefixed hash marks, "#"). AddType text/html. shtmlAddHandler server-parsed. shtml If you want "index. shtml" to be your default start page for your directories, ie, if you want Apache to load "index. shtml" when you type "localhost" or "localhost/directory/", you will need to search for a line in your "httpd. conf" that begins with "DirectoryIndex" and modify it as follows: DirectoryIndex index. shtml index. html Apache will now look for index. shtml first when it is given a directory without a file name, and only try index. html if index. shtml is missing.

7.Close the Apache window and restart it. You have to do this every time you make a configuration change so that Apache will reload the modified configuration file. 8.If you're using Internet Explorer, Firefox or Opera, you can test that you've properly installed and configured Apache by typing "localhost" or its IP address "127.0.0.1" into the location bar of the browser.

You should see the default page installed by the Apache installer on your hard disk. It is located in "C: \Program Files\Apache Group\Apache\htdocs\". I have not been able to get earlier versions of IE and Netscape 4.73 to connect without the Dial-Up Networking dialog box popping up and insisting that I connect to my ISP (defeating the entire purpose of this exercise for me). 9.If you can't get your browser to connect to your local webserver, you can still test it by manually mimicking a browser.

Go to the Start menu and select "Run". A dialog box will appear. Type "telnet localhost 80" (without the quotes) into the dialog box and click OK. The Windows telnet program will start up. Go to the Terminal | Preferences dialog box and make sure that the "Local echo" check box is selected (unless you are one of those who like to type blind). Type "get / http/1.0" (without the quotes) into the telnet window followed by hitting the Enter key twice. You will get a whole lot of text scrolling swiftly by.

This is the default page installed by the Apache installer on your hard disk. If you can get this it means that you've successfully installed Apache. .

Download full paperFile format: .doc, available for editing
Contact Us