Project

General

Profile

How to link to a non-uploaded file or html page?

Added by jeff j about 13 years ago

We are running the latest Redmine version with Mongrel on Debian Squeeze.

My question is whether (or how) I can link to a file that's on the same server, without uploading that file. Let's say I have a cron job that runs every few hours and generates an html file wit updated content, how can I link to that file from within Redmine so that users can view it?

Can I link to the file as an actual file path on the Redmine server? Or maybe I can create a sub-page that just points to the file since it's html?

Thanks!


Replies (2)

RE: How to link to a non-uploaded file or html page? - Added by jeff j about 13 years ago

I think I figured it out.

I put the files in my DocumentRoot folder, then just point a link to that path, such as:

https://redmine.internal.local/data/index.html

RE: How to link to a non-uploaded file or html page? - Added by jeff j about 13 years ago

I actually still have this problem. The solution I figured out above works fine for the file I uploaded, because I don't need it to be protected from non-authenticated users.

However, now I have files that should only be accessible to those that have authenticated, so I need to somehow upload/insert the files into Redmine. The caveat is that these files will be updated every hour with a cron job, so manually uploading them via the Redmine UI is not an option.

Can anyone suggest how else I could do this?

Thanks!

    (1-2/2)