EPrints Technical Mailing List Archive
Message: #08359
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] How to Disable Upload From URL
- To: <eprints-tech@ecs.soton.ac.uk>, "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- Subject: Re: [EP-tech] How to Disable Upload From URL
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Thu, 12 Nov 2020 08:46:43 +0000
Hi Izwan,
In your archive create the file cfg/cfg.d/z_disable_url_upload.pl
(i.e.
EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/z_disable_url_upload.pl
subsituting capitalised parts as appropriate) and add the
following line:
$c->{plugins}->{"Screen::EPrint::UploadMethod::URL"}->{params}->{disable}
= 1;
Then run the following commands to test and reload EPrints:
EPRINTS_PATH/bin/epadmin test ARCHIVE_NAME
apachectl graceful
If you are running Ubuntu or Debian the second command might be "apache2ctl graceful"
Regards
David Newman
On 12/11/2020 04:38, MOHD.IZWAN SALIM
via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.Dear all, how to disable the From URL upload. I want user to upload only from File.
Regards
Izwan
UiTM Library
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
- References:
- [EP-tech] How to Disable Upload From URL
- From: "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- [EP-tech] How to Disable Upload From URL
- Prev by Date: [EP-tech] How to Disable Upload From URL
- Next by Date: Re: [EP-tech] EPrints Bazaar Access using Proxy Server
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):