Skip to content

Instantly share code, notes, and snippets.

@pacojp
Created June 13, 2013 16:27
Show Gist options
  • Save pacojp/5775144 to your computer and use it in GitHub Desktop.
Save pacojp/5775144 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteLog "logs/rewrite_log"
#RewriteLogLevel 0
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/cgi-bin/qmailadmin(.*)?$ https://%{HTTP_HOST}/cgi-bin/qmailadmin [L,R]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment