EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10306
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] eprints 3.4.7 installation: cgi does not work
- To: <eprints-tech@ecs.soton.ac.uk>, Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- Subject: Re: [EP-tech] eprints 3.4.7 installation: cgi does not work
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Fri, 2 Jan 2026 18:45:40 +0000
Hi Herbert,
I have reconfigured an EPrints repository that was running on 80 and 443 and reconfigured so it runs on 8080 and 443, so the 10_core.pl config looks the same as what you provided albeit a different hostname. I then ran the following commands:
/opt/eprints3/bin/generate_apachconf --system --replace
apachectl restart
I did initially have a problem access the static pages on port 8080, as I did not have Apache listening on port 8080 but when I updated Apache's core configuration to include a 'Listen 8080' and restarted Apache I could access the static pages and then click on Login and go to the local login page. I am not sure what is going wrong for you if you have done the same as what I described above. As my Apache config in /opt/eprints3/cfg/apache/ARCHIVE_ID.conf looks much the same as the copy you included.
My best guess is that there may be some EPrints or Apache configuration that is set to port 80. I am not sure where this could be. I assume this EPrints repository was never configured on port 80? On my test instance, if I now try to go to this host on port 80, I get the Apache splash screen page. So I don't believe that there needs to be a redirect from port 8080 via port 80 to get the the login page on HTTPS (port 443). The only other thing I can think of is that your HTTPS configuration for EPrints is not linked in to Apache. What does the following command show, when run as root:
httpd -S
if you are running RHEL-based Linux or:
source /etc/apache2/envvars && apache2 -S
if you are running Debian/Ubuntu based Linux. However, if you did not have HTTPS config properly linked into Apache, then you would likely get an error message in your browser like:
Secure Connection Failed
An error occurred during a connection to HOSTNAME. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
RegardsDavid Newman
On 02/01/2026 10:08 am, Herbert
Hrachovec wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Hello,
the epadmin routine produced the standard eprints site including the
static files but login and account creation failed "URL not found" by
apache2 on port 80.
Since this is no dedicated server eprints is running on port 8080.
The 10_core.pl is
# This file was created by bin/epadmin
# You can regenerate this file by doing ./bin/epadmin config_core spkt
$c->{host} = 'sammelpunkt.philo.at';
$c->{port} = '8080';
$c->{aliases} = [];
$c->{securehost} = 'sammelpunkt.philo.at';
$c->{secureport} = 443;
$c->{http_root} = undef;
and /opt/eprints3/cfg/apache/spkt.conf
#
# apache.conf include file for spkt
#
# Any changes made here will be lost if you run generate_apacheconf
# with the --replace option
#
# The main virtual host for this repository
<VirtualHost *:8080>
ServerName sammelpunkt.philo.at
ServerAdmin herbovec@methexis.info
Include /opt/eprints3/cfg/perl_module_isolation_vhost.conf
<Location "">
PerlSetVar EPrints_ArchiveID spkt
Options +ExecCGI
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
</Location>
# Set by $c->{max_upload_filesize}
LimitRequestBody 1073741824
# Note that PerlTransHandler can't go inside
# a "Location" block as it occurs before the
# Location is known.
PerlTransHandler +EPrints::Apache::Rewrite
</VirtualHost>
Can some one advise? Thank you in advance,
h.h.
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- References:
- [EP-tech] eprints 3.4.7 installation: cgi does not work
- From: Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- [EP-tech] eprints 3.4.7 installation: cgi does not work
- Prev by Date: [EP-tech] eprints 3.4.7 installation: cgi does not work
- Next by Date: [EP-tech] OAI Harvester - Huge Author Lists
- Previous by thread: [EP-tech] eprints 3.4.7 installation: cgi does not work
- Next by thread: [EP-tech] OAI Harvester - Huge Author Lists
- Index(es):
