06.05.2013 Views

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

The eG Installation Guide - eG Innovations

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Installing and Configuring on Unix<br />

In the case of an iPlanet web server (prior to version 6.0), the start and stop files are modified after<br />

retaining a copy of them called start.pre_egurkha and stop.pre_egurkha. To uninstall the web adapter<br />

capability, replace the existing start and stop files with start.pre_egurkha and stop.pre_egurkha respectively.<br />

2.14.2 Configuring the <strong>eG</strong> Web Adapter for a SunONE Web Server<br />

Version 6.x on Solaris<br />

To configure the <strong>eG</strong> web adapter for a SunONE web server version 6.x on Solaris, follow the steps<br />

given below:<br />

10. Login as a SunONE install user.<br />

11. Open magnus.conf file in the //config/ directory. For instance, if<br />

the SunONE web server is installed in the directory /opt/SUNWwbsvr, and the name of the server is<br />

https-test, then the magnus.conf file will be in the directory: /opt/SUNWwbsvr/https-test/config directory.<br />

Append the following lines in the file:<br />

Init fn="load-modules" shlib="/opt/egurkha/lib/sun1webadapter_6.so" funcs="onServerInit,onChildInit,onLog"<br />

Init fn="onServerInit" WEB_SERVER_ROOT=/<br />

For example, if the SunONE web server is installed in the directory /opt/SUNWwbsvr, and the name<br />

of the server is https-test, then you will have to append the following lines in the magnus.conf file:<br />

Init fn="load-modules" shlib="/opt/egurkha/lib/sun1webadapter_6.so" funcs="onServerInit,onChildInit,onLog"<br />

Init fn="onServerInit" WEB_SERVER_ROOT=/opt/SUNWwbsvr/https-test<br />

12. Save the file.<br />

13. Next, open the obj.conf file from the same location, and insert the following line as the last line of<br />

the series that begins with the string, PathCheck fn:<br />

PathCheck fn=”onChildInit”<br />

Similarly, insert the following line as the last line of the series that begins with the string, AddLog<br />

fn:<br />

AddLog fn=”onLog”<br />

14. Save the file.<br />

15. Finally, restart the web server.<br />

<strong>The</strong> web adapter for an Apache or an IBM HTTP web server, on the other hand, can be configured only<br />

manually, and not through the <strong>eG</strong> agent setup procedure. <strong>The</strong> steps involved in the manual web<br />

adapter configuration process have been detailed hereunder.<br />

2.14.3 Configuring the <strong>eG</strong> Web Adapter for an Apache/IBM HTTP Web<br />

Server on a 32-bit Unix Operating System<br />

To manually configure the <strong>eG</strong> web adapter on an Apache web server 1.x on Unix, do the following:<br />

1. First, login to the Unix server as the Apache install user.<br />

2. Edit the /conf/httpd.conf file to append the following lines to the end of the file:<br />

LoadModule eg1_module libexec/mod_eg1.so<br />

3. Copy the file mod_eg1.so from the /opt/egurkha/lib directory to /libexec in the<br />

directory.<br />

4. Stop and restart the Apache server.<br />

73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!