How can I install HP-UX Web Server Suite into a different directory?
This assumes that you start Apache the standard way by using the “apachectl” script. You will need to become “root” user to do this. Automatic method A. Install the entire depot into /opt/hpws B. Move it to the desired location by typing: /opt/hpws/util/altroot.sh /opt/hpws /path_to_hpws For help with this script type: /opt/hpws/util/altroot.sh -h Note: Prior to running this script, ensure that none of processes (like Apache, Tomcat, Webmin, Stunnel, rotatelogs, logresolv) are running. C. Set shared library path. Some Apache binaries such as htpasswd expect shared libraries to be in standard locations. To run them you will need to set the SHLIB_PATH. Edit the file: /path_to_hpws/apache/bin/apachectl Replace all occurrences of: /opt/hpws With: /path_to_hpws Manual method A. Install the entire depot in /opt/hpws B. Move it to the desired location cp -pr /opt/hpws /path_to_hpws C. Set shared library path: Some Apache binaries such as htpasswd expect shared libraries to be in standard loca