> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://docs.clientexec.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Force Clientexec to use the https protocol

You can force a redirect from http to https using mod_rewrite:

Place the following in a .htaccess file:

```html
RewriteEngine On 
RewriteCond %{HTTPS} !=on 
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 
```

Please, note that the .htaccess should be located in the web site main folder.

The .htaccess file should be placed in the folder where you need to force HTTPS. You will also need mod_rewrite support in apache.