Information Systems:Apache Web Server Configuration on IBM i

From uniWIKI
Jump to navigation Jump to search

Access the Apache servers from a green screen command line by keying in WRKLNK and pressing enter.

Option 5=Display on Object Link www.  
Option 5=Display beside a server, for example WEBINTER.  
Option 5=Display beside conf.  
Option 5=Display beside HTTPD.CONF.

The Apache servers are configured to only run programs from explicit libraries. The following code for WEBINTER denies access to all directories (or libraries).

<Directory />      
  Order Deny,Allow
  Deny From all   
</Directory>       

This code allows access to programs in the PC environment.

<Directory /webroot/unipharm>
  Order Allow,Deny        
  Allow From all          
</Directory>      

This code allows access to the programs on the System i created by WebSmart.

<Directory /QSYS.LIB/WEBPRDP.LIB/> 
  Order Allow,Deny                
  Allow From All                  
</Directory>                       

All our programs enforce the logon of a valid user. If a user tries to bypass this by simply keying a program name into the address line, the session is redirected to the log on program.