EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
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
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] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):