home *** CD-ROM | disk | FTP | other *** search
- Apache for OS/2 and Local Testing
-
- For TCP/IP 2.0 or greater
- =========================
-
- (including TCP/IP included with OS/2 Warp Connect or OS/2 Warp Version 4)
-
- To do local server testing, you need to have a OS/2 TCP/IP Stack installed
- on your system. To set up the loopback interface you will need to execute
- the following:
-
- ifconfig lo 127.0.0.1
-
- optionally you may also need
-
- route add default 127.0.0.1 0
-
- Also modify your \tcpip\etc\hosts file to contain the following:
-
- 127.0.0.1 localhost
-
- Make sure you have 'SET ETC=\TCPIP\ETC' statement in your config.sys file.
-
- NOTE: If you are using MPTS the steps above should reference the mptn directory
- instead of the tcpip directory.
-
- Once this setup is configured, you should be able to do a 'ping 127.0.0.1'
- or a 'ping localhost' and get an immediate response. Once the 'ping localhost'
- command works, you should be able to start the Apache Web Server and use any
- browser running on the same machine to access Apache. Just use 'http://localhost/'
- as the URL.
-
- NOTE: For TCP/IP 3.0 it may also be necessary to turn on "Look through HOSTS
- list before going to nameserver" on the second page of the HOSTNAMES tab in the TCP/IP
- Configuration notebook.
-
- For the Internet Access Kit (IAK)
- =================================
-
- (included in OS/2 Warp's Bonus Pack)
-
- To do local server testing, you need to have the IAK installed on your system
- from the Bonus Pack floppies or CD-ROM. To set up the loopback interface you
- will need to execute the following:
-
- ifconfig lo 127.0.0.1
-
- optionally you may also need
-
- route add default 127.0.0.1 0
-
- Make sure your "ServerName" directive in HTTPD.CONF file is:
-
- ServerName 127.0.0.1
-
- Once this setup is configured, you should be able to do a 'ping 127.0.0.1'
- and get an immediate response. You should be able to start the Apache
- Web Server and use any browser running on the same machine to access
- Apache. Just use 'http://127.0.0.1/' as the URL.
-
-