I'm trying to use Tomcat 6 on an apache webserver to download data files (ascii), edit them, and then redirect users to a local copy of the edited version. My problem is that I can't seem to get permissions/configurations right.
I'm trying to move the files to ${catalina.base}/temp/stuff.txt
and redirect users to http://address.com:8080/temp/stuff.txt
But fiddling around with the permissions and making Contexts hasn't shown any success. Instead I get:
type: Status report
message: /temp/stuff.txt
description: The requested resource (/temp/stuff.txt) is not available.
How would you go about doing this?
I'm fairly new with tomcat so all help and advice on what to read up on are appreciated.