[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] 404 File not Found



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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fblob%2F3.3%2Fperl_lib%2FEPrints%2FPlugin%2FScreen.pm%23L385&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096374969315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9yAWVDMLSDss97o1aBnb6ifVIQEkPHX84H6%2FZ%2FRirFo%3D&reserved=0

On 08/02/2022 08:50, alamsyah rasyid via Eprints-tech wrote:
> *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 <mailto:admin at uss.ac.id>. 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepositori.uss.ac.id%2Fusers%2Fhome&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096374969315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=xIN4yq%2FwyFgx82zpCPxcjdqvg8HFwcOFI97Jwlw%2Bgl0%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepositori.uss.ac.id%2Fusers%2Fhome&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096374969315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=xIN4yq%2FwyFgx82zpCPxcjdqvg8HFwcOFI97Jwlw%2Bgl0%3D&amp;reserved=0>
>
> When I add manually /*cgi*/ into url like this :
>
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepositori.uss.ac.id%2Fcgi%2Fusers%2Fhome&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096375125529%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=dN%2BxOgnyHPU3sozxtmZbkDwc4V9nqRi1PYq6PzzbxWI%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Frepositori.uss.ac.id%2Fcgi%2Fusers%2Fhome&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096375125529%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=dN%2BxOgnyHPU3sozxtmZbkDwc4V9nqRi1PYq6PzzbxWI%3D&amp;reserved=0>
>
> I returned to the Manage Deposit page.
>
> I've red 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FTroubleshooting%23Changes_to_the_configuration_didn.27t_appear_on_the_website&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096375125529%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=tDeHH1d9ysQeZRWUM0peirPNChFUGbnizIxxG1a0pm0%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FTroubleshooting%23Changes_to_the_configuration_didn.27t_appear_on_the_website&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096375125529%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=tDeHH1d9ysQeZRWUM0peirPNChFUGbnizIxxG1a0pm0%3D&amp;reserved=0>
>
> 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:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096375125529%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=3SGUVVAlgWjBpuhOVe7MSnPsiXg5n9c0hYwgqBynAyg%3D&amp;reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cff74bd168ff745e5fe9e08d9eae61f38%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637799096375125529%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=9P9jAjoHr21Iv40lhU0efECbUXviHh1u9uiSaCKr9Ag%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220208/ca00da04/attachment.html