How to configure Apache to work with Npm Scope Packages?

How to configure Apache to work with Npm Scope Packages?

AuthorFullName__c
JFrog Support
articleNumber
000003893
ft:sourceType
Salesforce
FirstPublishedDate
2017-07-10T12:37:13Z
lastModifiedDate
2017-07-10
VersionNumber
3

To configure your Apache to work with NPM Scoped Packages, you may want to follow the below procedure:

The forward slash is encoded by the NPM client as %2f but some reverse proxy configuration decoded back into the forward slash and the result is a 404 from Artifactory. If you do encounter this issue with Apache, you may need to add the 'nocanon' directive to the reverse proxy configuration:

ProxyPass / http://arti-server:8081/ nocanon

ProxyPassReverse / http://arti-server:8081/ nocanon

IMPORTANT NOTE: Since version 5.4.0, Artifactory handles decoded slash characters correctly out-of-the-box, hence, there is no longer any need to modify your reverse proxy configuration.

Additional information can be found on our Release Notes.