Windows UIO Proxy Files for Windows and Linux

Oracle Adaptive Access Manager Proxy 6-11

6.3.3 Copying the UIO Apache Proxy and Supported Files to Apache

Instructions are provided in this section for copying the UIO Apache Proxy and support files to specific directories in Apache for both Windows and Linux platforms.

6.3.3.1 Windows

Table 6–7 summarizes: ■ The directories you have to copy the UIO Apache Proxy files to after installation ■ The tree structure of the UIO Apache Proxy libraries and configuration files, assuming that you installed the files in C:\Apache2.2 ■ The directories the UIO Apache Proxy binary files go into are listed in Table 6–7 . The data files are put in the directories summarized in Table 6–8 . If you want to change the location of the various configuration files, refer to the Configuring httpd.conf section.

6.3.3.2 Linux

After the installation of the Apache httpd, you must copy the UIO Apache Proxy binary files into assuming Apache httpd is installed in usrlocalapache2 the directories shown in Table 6–9 . Table 6–7 Directories for Windows UIO Proxy Binary Files Directories File Descriptions C:\Apache2.2\modules\mod_uio.so UIO Apache Proxy module C:\Apache2.2\bin\log4cxx.dll Apache Log4cxx library C:\Apache2.2\bin\libxml2.dll XMLHTML Parser C:\Apache2.2\bin\apr_memcache.dll APR Memcache library. Table 6–8 Directories for Windows UIO Proxy Data Files Directories File Descriptions C:\OAAMUIO\UIO_Settings.xml UIO Apache Proxy settings XML file C:\OAAMUIO\UIO_log4j.xml UIO Apache Proxy Log4j log4cxx configuration XML file C:\OAAMUIO\TestConfig.xml UIO Apache Proxy application configuration files any number C:\OAAMUIO\UIO_Settings.rng Relax NG grammar for UIO_Settings.xml C:\OAAMUIO\UIO_Config.rng Relax NG grammar for application configuration XML files C:\OAAMUIO\logs\uio.log UIO Apache Proxy log Table 6–9 Directories for Linux UIO Proxy Binary Files Directories Description usrlocalapache2modulesmod_uio.so UIO Apache Proxy Module usrlocalapache2libliblog4cxx.so.0.10.0.0 Apache Log4cxx Library usrlocalapache2liblibxml2.so.2.6.32 XMLHTML Parser 6-12 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager Then, create soft links to the libraries as follows: cd usrlocalapache2lib ln -s liblog4cxx.so.10.0.0 liblog4cxx.so.10 ln -s libxml2.so.2.6.32 libxml2.so.2 ln -s libapr_memcache.so.0.0.1 libapr_memcache.so.0 Also, ensure that the binary files have executable permission. Apache httpd is typically run as root so that it creates a parent process that listens on port 80, and it spawns handler processes that run as the user given in the User directive in httpd.conf. For this reason, create a user called oaamuio that is the checkpoint user for the UIO Apache Proxy. The proxy configuration and log files are accessible by this user. Ensure that only this user can access the log files. Assuming homeoaamuio is the home directory for this user, the directory structure looks like the one presented in Table 6–10 . The UIO Apache Proxy data files should follow the directory structure shown in Table 6–10 . If you want to change the location of the various configuration files, refer to the Configuring httpd.conf section. The run-time user of httpd should have the appropriate permissions to access all these files.

6.3.4 Configuring Memcache for Linux only