EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07997
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] EPrints and website subdomains
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, "James Kerwin" <jkerwin2101@gmail.com>
- Subject: Re: [EP-tech] EPrints and website subdomains
- From: "Newman D.R." <drn@ecs.soton.ac.uk>
- Date: Wed, 23 Oct 2019 14:57:01 +0000
Hi James, The answer to this question is somewhat dependent on what flavour of Linux and version of Apache you are running. At best guess it seems like you might be running Apache 2.4 on RedHat. I have tested this and think the issue lies in the way you static website has been configured where it just assumes it is the only host on your webserver. Presumably you know where the static files are for this site, so I would grep through the Apache configuration for this path. Then when you find this line I would add a VirtualHost around all the config in the file. In my example I was just trying to display the welcome holding page for a different hostname I took /etc/httpd/conf.d/welcome.conf from this: <LocationMatch "^/+$"> ### And then added the VirtualHost encapsulation and ServerName line to give: ### <VirtualHost *:80> ### Admittedly my setup did not have hosts where one was a subdomain of the other but I think this is just a bit of a red-herring and the issue is going from have one host to two and the first not expecting a second to be added and the second not being aware that the first exists as it has not been defined as its own VirtualHost like EPrints Apache configuration would have done. Regards David Newman
On 23/10/2019 14:52, James Kerwin via Eprints-tech wrote:
|
- References:
- [EP-tech] EPrints and website subdomains
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] EPrints and website subdomains
- Prev by Date: [EP-tech] EPrints and website subdomains
- Next by Date: Re: [EP-tech] EPrints and website subdomains
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):