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.
Tags: .htaccess, 443, apache, ce, CentOS, ClientExec, HTTP, HTTPS, Linux, module, mod_rewrite, rewrite, sub directory
Posts Tagged “rewrite”
Dec
17
2009
Use htaccess To Redirect All Traffic To One Directory To A New URLPosted by alex in InsightsTonight we are launching a new portiong of Question-Defense.com called Engage. This new section allows anyone to write questions and allows the community to respond to those questions. Now people can become more involved and more questions will be answered because the possibilities of who can respond are endless. Tags: .htaccess, apache, directory, Engage, redirect, rewrite, RewriteEngine, RewriteRule, traffic, URL
Nov
23
2009
LiteSpeed Web Server: Redirect All Web Traffic to HTTPS Except One Directory Or URLPosted by alex in InsightsLiteSpeed web server uses the same Rewrite engine that Apache uses so most of the information you will find on the Internet relates to Apache and not LiteSpeed. One of the projects I am working on redirects all web traffic that hits each virtual host from HTTP to HTTPS without exception. Recently it came up that we needed to do some API testing with a company that wanted to test on a development server to HTTP and not HTTPS. So I needed to figure out how to exclude a specific directory from our HTTPS Redirect Rule on one specific virtual host which turns out is really easy. Below I describe how to send all traffic except one directory to HTTPS via the LiteSpeed web admin. Tags: apache, directory, HTTP, HTTPS, Litespeed, rewrite, rewrite engine, rewrite rules, ReWriteCond, RewriteRule, rules, URLThere 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.
LoadModule rewrite_module modules/mod_rewrite.so |









Entries (RSS)