[EP-tech] Eprints show default apache page

David R Newman drn at ecs.soton.ac.uk
Wed Apr 29 13:48:22 BST 2020


Hi Aris Kurniawan,

This sounds like the virtualhost for EPrints is only configured for a 
particular IP address.  If you are on campus then users accessing 
EPrints will be connecting on that IP address but when they are off 
campus they will be using a different IP address*. Running 
EPRINTS_PATH/generate_static --system --replace should generate the HTTP 
configuration and not restrict to an IP address.  However, the HTTPS 
configuration needs to be manually configured in 
EPRINTS_PATH/archives/ARCHIVE_NAME/ssl/securevhost.conf.  If you edit 
this file and make sure the VirtualHost lines look like:

<VirtualHost *:443>

If the * is substituted with an IP address then that will be your 
problem.  Assuming you have no other websites running on the server then 
it is safe to change the IP address to *. Even if you do have other 
sites hosted on the server it should be OK but check to make sure those 
sites are still OK after restarting Apache.

If this does not look to be the issue.  Please could you send me the 
output of the following (use the first if you are running RedHat, CentOS 
or Fedore and the second if you are running Ubuntu or Debian):

httpd -S

. /etc/apache2/envvars && apache2 -S

Ideally run this commands as the root user although they should work 
without.

Regards

David Newman

*Often an organisation will use the 10.0.0.0/8 (defined as a private IP 
address range that will not get routed across the Internet) inside their 
organisation but for website to be accessible outside the organisation 
they will need a non-private address as well as one in the 10.0.0.0/8.

On 29/04/2020 12:48, zulkarnain via Eprints-tech wrote:
> Your DNS and Apache is working but there are.no eprints services. 
> Diconfigurasi dulu ris.
>
> Zul
>
>     On Wed, Apr 29, 2020 at 18:23, Aris Kurniawan via Eprints-tech
>     <eprints-tech at ecs.soton.ac.uk> wrote:
>     Regards
>     Help me
>     eprints server is still local, only accessible to computers that are
>     connected to the server.  along with the needs of students and campus
>     I request domain and public IP.
>     but there is a problem.  eprints can only be accessed if using campus
>     internet, if not using campus internet the browser display is the
>     default apache page.
>     how do i resolve this?
>     This is my url eprints for repository my campus
>     repository.unsoed.ac.id
>
>     Thank you
>     *** 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=01%7C01%7C%7Ce2df23e7d23e4d16ba3808d7ec3b9db3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=s2FEZVvoQ6TsFV0vEdDp14nTsXH6pgsEBveCv892qtI%3D&amp;reserved=0
>     <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Ce2df23e7d23e4d16ba3808d7ec3b9db3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=s2FEZVvoQ6TsFV0vEdDp14nTsXH6pgsEBveCv892qtI%3D&amp;reserved=0>
>     *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Ce2df23e7d23e4d16ba3808d7ec3b9db3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=NhxVGsUkTtRYw2kqRd%2FNgd%2F9p7QTMRiAatTEDek8Xd8%3D&amp;reserved=0
>     <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Ce2df23e7d23e4d16ba3808d7ec3b9db3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=NhxVGsUkTtRYw2kqRd%2FNgd%2F9p7QTMRiAatTEDek8Xd8%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=01%7C01%7C%7Ce2df23e7d23e4d16ba3808d7ec3b9db3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=s2FEZVvoQ6TsFV0vEdDp14nTsXH6pgsEBveCv892qtI%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Ce2df23e7d23e4d16ba3808d7ec3b9db3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=NhxVGsUkTtRYw2kqRd%2FNgd%2F9p7QTMRiAatTEDek8Xd8%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=01%7C01%7C%7Ce2df23e7d23e4d16ba3808d7ec3b9db3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=dF5%2BAwq5X%2FwAca0qni5IV24YZoRWueeBb0pEeL%2FhKLw%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200429/2335611f/attachment.html 


More information about the Eprints-tech mailing list