Technology Insights

Require HTTPS For ClientExec Installed In Sub Directory

If you have ClientExec installed in a sub-directory say /clientexec and want to require HTTPS only for ClientExec the easiest way to accomplish this is by putting a .htaccess file inside of the sub directory itself. There are numerous solutions to this posted as CE Knowledge Base Articles and within the CE forums but many of them did not work for me so I wanted to post the solution that worked on setup using CentOS as the operating system and using Apache/PHP/MySQL on that platform.

Technology Insights

.htaccess Redirect All Traffic to www

There are a couple things that need to be considered when creating an htaccess file to redirect all traffic from a domain to www.domain. Follow the instructions below to make sure you have your bases covered and traffic is redirected properly.

  1. mod rewrite:Make sure the rewrite_module is being loaded. You should see a line like the following in your apache configuration file (typically /etc/httpd/conf/httpd.conf).
  2. bash

    1. LoadModule rewrite_module modules/mod_rewrite.so