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

[EP-tech] ePrints with Vhost



Hi Phil,

You will need to add /resource/ to rewrite exceptions by adding a config 
file to your archive's cfg/cfg.d/ directory with contents something like:

push @{$c->{rewrite_exceptions}}, "/resource/";

You will then need to reload Apache but you should not need to re-run 
bin/generate_apacheconf.

Regards

David Newman

On 22/01/2022 17:18, Phil Stacey via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
>
> I have https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdomain.com%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=mSccy%2B9IIaVRz3U4HqE5m%2FBwou56iqlWbDpINVFb9Q4%3D&reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdomain.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=mSccy%2B9IIaVRz3U4HqE5m%2FBwou56iqlWbDpINVFb9Q4%3D&amp;reserved=0> 
> website which is used for eprints and I want also use 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fskosmos.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=atVmV03SFIrvgNaWXsKZeX8RioMCTjS2t4KnG4iYK50%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fskosmos.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=atVmV03SFIrvgNaWXsKZeX8RioMCTjS2t4KnG4iYK50%3D&amp;reserved=0> 
> service on https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdomain.com%2Fresource&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=KF26kbxv4BvaqYb3EZqitEU97iZ2biE7hgY%2BpYF3GoA%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdomain.com%2Fresource&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=KF26kbxv4BvaqYb3EZqitEU97iZ2biE7hgY%2BpYF3GoA%3D&amp;reserved=0> 
> url as a subdirectory.
>
> I have setup Alias apache vhost setting for https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdomain.com%2Fresource&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=KF26kbxv4BvaqYb3EZqitEU97iZ2biE7hgY%2BpYF3GoA%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdomain.com%2Fresource&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=KF26kbxv4BvaqYb3EZqitEU97iZ2biE7hgY%2BpYF3GoA%3D&amp;reserved=0> 
> url in eprints apache vhost file but it?s not working.
>
> Any help would be much appreciated
>
> Best Regards,
>
> Phil Stacey
>
> Knowledge Graphs for safer homes (beta) 
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuildvoc.co.uk%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=tEKIZShFNN1c%2FqQ51C2YYjw5qs3pixU0F56W0K%2F18x8%3D&amp;reserved=0>__
>
>
> *** 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%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=UMATiRT7rhAR%2Bz3NzVtikL28uWv9GAUdINrg8i7g7X8%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%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=%2BFR74XGN16gavOhzcmKOVtcR%2FNjnRVbmk7m%2B7RotSjM%3D&amp;reserved=0

-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2c60365fc813460d618d08d9ddcd3be2%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637784695816881220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=0IPrH9v05wttPuGocmi5uYgy%2Bust53pmXhkhAaCXOt4%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220122/48863e46/attachment-0001.html