EPrints Technical Mailing List Archive
Message: #08864
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] 404 File not Found
- To: <eprints-tech@ecs.soton.ac.uk>, alamsyah rasyid <alam@uss.ac.id>
- Subject: Re: [EP-tech] 404 File not Found
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Tue, 8 Feb 2022 09:33:52 +0000
Hi Alamsyah,
This sounds a bit like the the configuration setting for $c->{http_cgiurl} has got unset somehow. It looks like you are running EPrints 3.3.16, so the best thing to try is editing your archive's 20_baseurls.pl (EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/20_baseurls.pl) and manually setting http_cgiurl directly below the following line:
$c->{perl_url} = "$uri/cgi";
By adding:
$c->{http_cgiurl} = "$uri/cgi";
Further to this it is worth checking you config to make sure this is not unset elsewhere in the same directory as 20_baseurls.pl. As if it is not being set at all you should not have a problem as EPrints core codebase will effectively set it the same as the manual configuration I have provided above.
Once you have made these changes, be sure to run "epadmin test" and reload the webserver to apply changes. If this does not fix your issue, this suggests that your EPrints core codebase may have been modified, which will make it trickier to debug. The line that is setting the URL for this link should be line 385 of EPRINTS_PATH/perl_lib/EPrints/Plugin/Screen.pm. So that may be the next place to look if you are still having problems and compare it to the same file on GitHub [1].
Regards
David Newman
[1]
https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Plugin/Screen.pm#L385
CAUTION: This e-mail originated outside the University of Southampton.Hello All,
I've installed eprints in ubuntu 18.04 vps . Everything looks good except some links. When clicked (for example New Item in Manage deposit) I see '404 File not found' message .
Could not find the file:
/users/home
The specified file could not be found on this server. If you reached this page by following a link within the repository, please contact the USS Repository administration. Otherwise, please check that you have typed the URL in correctly, or contact the person or site that supplied you with this URL.
The url is :
https://repositori.uss.ac.id/users/home
When I add manually cgi into url like this :
https://repositori.uss.ac.id/cgi/users/home
I returned to the Manage Deposit page.
in 404 not found section but no result so far.
Kindly please assist me in fixing this issue.
Best Regards
Alamsyah
*** 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] 404 File not Found
- From: alamsyah rasyid <alam@uss.ac.id>
- [EP-tech] 404 File not Found
- Prev by Date: [EP-tech] 404 File not Found
- Next by Date: [EP-tech] Sword Servicedocument
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):