RewriteEngine On
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [L,R=301]
- redirect, https, tomcat, http, htaccess
- 0 Users Found This Useful
RewriteEngine On
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [L,R=301]
Below config file needs to be done in your apache httpd.conf or htaccess file: <IfModule...
http > httpsRewriteEngine On#First rewrite any request to the wrong domain to use the correct...
If you want your page to show the content of another file without changing the code in the url,...
RewriteEngine OnRewriteCond %{HTTP_HOST} !^www\.RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1...
RewriteEngine On#Redirect main domain to subdomainRewriteCond %{HTTP_HOST} !^$RewriteCond...