Information Systems:Apache Web Server Configuration on IBM i

From uniWIKI
Revision as of 15:58, 21 October 2015 by Sheilav (talk | contribs) (Created page with "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, f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.