Can I configure both HTTP and HTTPS logins using Apache?

Due to the new Angular JS framework introduced in the UI of Artifactory 4.x, it is not possible to control the UI redirections both in HTTP and HTTPS.

It can be defined either as HTTPS or HTTPS.

 

It was possible to have both options in older versions.

The customer can redirect using Apache RewriteRule in version 4.x according to the following convention:

 

 

 

 

The customer can modify his Apache RewriteRules in the following manner, which would work for HTTPS traffic exclusively:

RewriteRule /artifactory/webapp$ https://artifactory.host.name/artifactory/webapp/ [R,L]

 

The reason is that the login path in the UI is a browser-only endpoint that is generated by the Angular JS framework.