Wildfly 10 https redirection

In Wildfly server can we redirect request from http to https through the undertow subsystem (standalone.xml or domain.xml). In standalone.xml or domain.xml files To do this redirection we need to create a filter to rewrite url. Once the filter is created, create the filter reference to configure a predicate that decides when the filter will […]

HTTPS Redirection

In Apache In your Apache server and go to the conf folder and take a backup of httpd.conf file. Open httpd.conf using your favourite editor. Ensure mod_rewrite.so module is loaded. LoadModule rewrite_module modules/mod_rewrite.so If you see above line is commented then uncomment it. Add the following at the end of the file. RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Restart […]