EPrints Technical Mailing List Archive
Message: #07855
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Reinstating deleted file
- To: Karl Goetz <karl.goetz@utas.edu.au>
- Subject: Re: [EP-tech] Reinstating deleted file
- From: "Newman D.R." <drn@ecs.soton.ac.uk>
- Date: Fri, 24 May 2019 06:33:28 +0000
Hi Karl, The Apache redirect option is more difficult than it might sound, as this is passed off to a Perl handler. You woudl need to add a specific exception like: push @{$c->{rewrite_exceptions}}, '/29788/1/my_file_20190404.pdf'; To your archive's cfg/cfg.d/ directory, lets say in a file called z_rewrite_exceptions.pl and then edit both your archive's cfg/apachevhost.conf and ssl/securevhost.conf to add the exception: RewriteEngine on You would want to make sure you use http in apachevhost.conf and https in securevhost.conf. Regards David Newman On 24/05/2019 07:20, Karl Goetz wrote:
Thanks David, |
- References:
- [EP-tech] Reinstating deleted file
- From: Karl Goetz <karl.goetz@utas.edu.au>
- Re: [EP-tech] Reinstating deleted file
- From: Karl Goetz <karl.goetz@utas.edu.au>
- [EP-tech] Reinstating deleted file
- Prev by Date: Re: [EP-tech] Reinstating deleted file
- Next by Date: Re: [EP-tech] Reinstating deleted file
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):