EPrints::Apache::apache_secure_conf generates a <Location "$https_root"/> block which includes the EPrints_ArchiveID variable.
If $http_root ne $https_root, there is no equivalent block (or EPrints_ArchiveID variable) in the HTTPS virtual host configuration for the $http_root location.
This means that HTTPS requests to locations under $http_root (but not $https_root) are not handled by EPrints.
The text was updated successfully, but these errors were encountered:
This can be worked around by manually copying the <Location "..."/> block from the generated (:80) config file, and pasting it verbatim into your local :443 virtualhost configuration (i.e. the same place you set up SSLCertificateFile, etc. directives)
phluid61
added a commit
to QUTlib/eprints
that referenced
this issue
Nov 30, 2015
I've just worked out that our repository is still using the base_url and friends config; I'll look at updating that to http_root &c. before confirming that the referenced commit 0ac99fd is useful.
EPrints::Apache::apache_secure_confgenerates a<Location "$https_root"/>block which includes the EPrints_ArchiveID variable.If
$http_root ne $https_root, there is no equivalent block (or EPrints_ArchiveID variable) in the HTTPS virtual host configuration for the$http_rootlocation.This means that HTTPS requests to locations under
$http_root(but not$https_root) are not handled by EPrints.The text was updated successfully, but these errors were encountered: