To install AFP2web Server DMT packages, follow below instructions 1. Prerequisites a. Apache HTTP server v2.4 b. Apache mod_fcgid module v2.3.0 1. Installing AFP2web Server in RHEL a. Unpack afp2webServer_V1.x.x_linux_x64_dmt.tgz into the /etc/httpd/ directory # tar xvzf /afp2webServer_V1.x.x_linux_x64_dmt.tgz -C /etc/httpd/ b. Unpack a2ws_V1.x.x_linux_x64_tenant_.tgz into the /etc/httpd/ directory # tar xvzf /a2ws_V1.x.x_linux_x64_tenant_.tgz -C /etc/httpd/ c. Run the following commands to set user and user group of the extracted files and to assign permissions to a2wtransformation.async and a2wtransformation.fcgi # cd /etc/httpd # chown -R apache:apache * # chmod 777 /etc/httpd/a2wserver/tenants/default/a2wtransformation.* /etc/httpd/a2wserver/tenants/default/*.so* # chmod 777 /etc/httpd/a2wserver/tenants//a2wtransformation.* /etc/httpd/a2wserver/tenants//*.so* d. Run the following command to create log directories for tenants # ln -s /etc/httpd/logs/tenants /var/log/httpd/tenants e. Run the following commands to relocate AFP2web Server's PERL version # cd /etc/httpd/a2wserver/perl588/bin # ./reloc_perl -a /etc/httpd/a2wserver/perl588 2. Installing AFP2web Server in Debian a. Unpack afp2webServer_V1.x.x_linux_x64_dmt.tgz into the /var/lib/apache2/fcgid/ directory # tar xvzf /afp2webServer_V1.x.x_linux_x64_dmt.tgz -C /var/lib/apache2/fcgid/ b. Unpack a2ws_V1.x.x_linux_x64_tenant_.tgz into the /etc/httpd/ directory # tar xvzf /a2ws_V1.x.x_linux_x64_tenant_.tgz -C /var/lib/apache2/fcgid/ c. Run the following commands to set user and user group of the extracted files and to assign permissions to a2wtransformation.async and a2wtransformation.fcgi # cd /var/lib/apache2/fcgid # chown -R www-data:www-data * # chmod 777 /etc/httpd/a2wserver/tenants/default/a2wtransformation.* /etc/httpd/a2wserver/tenants/default/*.so* # chmod 777 /etc/httpd/a2wserver/tenants//a2wtransformation.* /etc/httpd/a2wserver/tenants//*.so* d. Run the following commands to create log directories for tenants # ln -s /etc/httpd/logs/tenants /var/log/apache2/tenants 3. To start/stop the AFP2web Server, use the following commands a. In RHEL To start the AFP2web Server # service httpd start To stop the AFP2web Server # service httpd stop b. In Debian To start the AFP2web Server # service apache2 start To stop the AFP2web Server # service apache2 stop 4. To test, the HTTP request must contain 'Host=' within its header. This ensures that the AFP2web tenant's configuration will be used.