Tomcat error 403 with deployed solution.
Posted: Thu Oct 16, 2014 4:18 pm
Servoy 6.1.6, web-client only. Deployed on Windows Server 2008 R2.
Users need to be able to view/download PDFs from the server.
Anyway when a user clicks to view the PDF I am copying the PDF to a folder location that I created: C:\Users\abourke\apps\Servoy\application_server\server\webapps\ROOT\pdfdownloads.
The copying part works fine.
I then use
... where newUrl would be like
This results in Tomcat throwing 403 - Forbidden
This works fine on dev machine.
How do I grant permissions to allow read access to that pdfdownloads folder?
Thanks
Users need to be able to view/download PDFs from the server.
- Code: Select all
plugins.file.writefile
- Code: Select all
plugins.it2be_tools.server().IP
Anyway when a user clicks to view the PDF I am copying the PDF to a folder location that I created: C:\Users\abourke\apps\Servoy\application_server\server\webapps\ROOT\pdfdownloads.
The copying part works fine.
I then use
- Code: Select all
application.showURL(newURL)
... where newUrl would be like
- Code: Select all
http://99.99.99.99:8080/pdfdownloads/7305E3FA-52CB-47F9-BEF4-9CB5DFB4C367/IIN606505.PDF
This results in Tomcat throwing 403 - Forbidden
This works fine on dev machine.
How do I grant permissions to allow read access to that pdfdownloads folder?
Thanks