Information Systems:Work with Apache Server

From uniWIKI
(Redirected from Work with Apache Server)
Jump to navigation Jump to search

From wikipedia - Apache is the world’s most widely used web server software. It is the most popular HTTP server, as was the first to serve more than 100 million websites. Apache is free and open source software, and typically runs on Unix-like systems.

On a command line, key in WRKLNK and press enter. Press page down until you see Object Link ‘WWW’.

                            Work with Object Links                             
                                                                               
Directory  . . . . :   /                                                       
                                                                               
Type options, press Enter.                                                     
  2=Edit   3=Copy   4=Remove   5=Display   7=Rename   8=Display attributes     
  11=Change current directory ...                                              
                                                                               
Opt   Object link            Type     Attribute    Text                        
_     u480bp                 SYMLNK                                            
_     var                    DIR                                               
_     webroot                DIR                                               
5     www                    DIR                                               
_     BankEDI                DIR                                               
_     BankEDI2               DIR                                               
_     ChqMaster              DIR                                               
_     DOMINO                 DIR                                               
_     EFT                    DIR                                               
                                                                       More... 
Parameters or command                                                          
===>                                                                           
F3=Exit   F4=Prompt   F5=Refresh   F9=Retrieve   F12=Cancel   F17=Position to  
F22=Display entire field           F23=More options                            
                                                                               

Use option 5 to display the contents of WWW. Then use option 5 to display one of the servers; WEBINTER (InfoNet), WEBSMART (Web Orders), or WEBTEST (development). Use option 5 to display the configuration file(s) in CONF. There could be copies or backups; the current configuration file is HTTPD.CONF. Use option 2 to edit it.

I don’t know much about the code in this. A line with # in the first character is a comment, or a commented out line. ‘LISTEN’ obviously defines the IP address and port the server is working on. See Apache Web Server Security for a description of the ‘DIRECTORY’ statements.

To get the Apache servers to run on a different server (for example when we are testing a replacement i), change all the IP addresses, and DNS names.