Virtual directory mapping is failing in forms 12c
I have some custom JAR files exists in my own directory. I created virtual directory mapping to my directory using the following setup in forms.conf
AliasMatch /forms/test/(..*) "C:\new/$1"
WLExcludePathOrMimeType /forms/test/
But it is not able to access the JAR files and failing with error that "HTTP response code: 403".
Then I followed "https://community.oracle.com/thread/3890697" thread and added following lines of code to forms.conf, still it is failing with same error.
RewriteRule ^/forms/test/(..*) /test/$1 [PT]
AliasMatch ^/test/(..*) "C:\new/$1"
Forms version: 12.2.1.2.0
OS: Windows Server 2012R2
WLS: 12.2.1.2.0
JDK: 1.8U121
Can someone guide to configure the virtual directory mapping.