Install guide

Moving the Apache Web Root (read-only $OWHOME)
WOW by default creates a Web alias from /wow/ to $OWHOME/WebApps/htdocs,
which is referred to as the Web Root. This location on disk contains static files, directories
and links that are customizable on a site-by-site basis. If your site requires that the
$OWHOME directory be entirely read-only, then the Web Root can be moved as described
below:
1. Change the Apache alias:
vi /etc/httpd/conf/httpd.conf.
Find/edit this line: Alias /wow/ "/new-read-write-location/htdocs/"
2. Modify the WEB_ROOT variable in the wow.env file to the new location:
cd $OWHOME/WebApps/conf
vi wow.env
WEB_ROOT=/new-read-write-location/htdocs; export WEB_ROOT
3. Copy the htdocs directory to the new read-write location:
cp r $OWHOME/WebApps/htdocs /new-read-write-location
4. Add the new location to the config file that prevent browsing above the web root:
vi $OWHOME/WebApps/conf/restricted_dirlist.dat
Add this line: /new-read-write-location/htdocs
5. Restart Apache:
/usr/sbin/apachectl restart
In the scenario where a read-only $OWHOME is required, the WOW conf directory can also
be moved, and linked back to $OWHOME/WebApps, i.e.:
cd $OWHOME/WebApps
cp r $OWHOME/WebApps/conf /new-read-write-location
mv conf conf.orig
ln s /new-read-write-location/conf
WOW 5000.0.1.11 Release Notes Page 88 of 104 March 2014