Hi All,
On windows server 2012 R2
I would like to open open files from a forms 12.2.1.4 application using web.show_document
I have a forms 11g application with a similar functionnality
At the beginning I got a 404 error as forms/export/ doesn't exists
When I tried to access to http://xxxxxx.local:7777/forms/export/EXP_811724_141405.csv
My problem comes from the virtual directory
In forms 11g, the file forms.conf had been modified to add the 2 following lines in forms.conf file
AliasMatch ^/forms/export/(..*) "D:\FOLDER/export/$1"
WLExcludePathOrMimeType /forms/export/
I use same way in my forms 12.2.1.4
So I had following forms.conf
'''
RewriteEngine on
AliasMatch ^/forms/export/(..*) "D:\xxxxxxxx/export/$1"
WLExcludePathOrMimeType /forms/export/
<Location /forms>
SetHandler weblogic-handler
WebLogicHost xxx.xxx.xxx.xxx
WeblogicPort xxxx
</Location>
'''
Then I relaunched web services and got a 40.3 Forbidden error :
You don't have permission to access /forms/export/EXP_811724_141405.csv on this server.
I checked and I have all rights on : D:\xxxxxxxx/export/
Then, using How to create virtual directory mapping in forms 12c
I did some try with adding following line in httpd.conf
Alias /forms/export/ "D:\xxxxxxxx/export/"
<Directory "D:\xxxxxxxx/export/">
AllowOverride All
Require all granted
</Directory>
But I got same error
Then tried to change forms.conf like this :
RewriteEngine on
RewriteRule ^/forms/export/(..*) /workaroundmyfiles/$1 [PT]
AliasMatch ^/workaroundmyfiles/(..*) "D:\xxxxxxxx/export/$1"
WLExcludePathOrMimeType /forms/export/
and httpd.conf
Include "moduleconf/forms.conf"
Alias /forms/excels/ "D:\xxxxxxxx/export/"
<Directory "D:\xxxxxxxx/export/">
AllowOverride All
Require all granted
</Directory>
And got following error :
You don't have permission to access /workaroundmyfiles/EXP_811724_141405.csv on this server.
Please, can you help me?
Thanks
Best regards,