EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08363
< 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: David R Newman <drn@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] How to Disable Upload From URL
- From: "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- Date: Mon, 16 Nov 2020 10:32:25 +0800
CAUTION: This e-mail originated outside the University of Southampton.
This works for me.
Thanks David
Izwan
UiTM Library
UiTM Library
On Thu, Nov 12, 2020 at 4:46 PM David R Newman <drn@ecs.soton.ac.uk> wrote:
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/
- Follow-Ups:
- Re: [EP-tech] How to Disable Upload From URL
- From: "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- Re: [EP-tech] How to Disable Upload From URL
- References:
- [EP-tech] How to Disable Upload From URL
- From: "MOHD.IZWAN SALIM" <mohdizwan8733@uitm.edu.my>
- Re: [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: Re: [EP-tech] IRStats2: Slow in Chrome?
- Next by Date: [EP-tech] Trying to understand a disaster after a database update
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):