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

[EP-tech] Broken apache config

Hi Alan,

I think the problem may be that /etc/httpd/conf.d/ssl.conf has defined 
its own default VirtualHost for port 443.? This may take precedence over 
any port 443 VirtualHost defned within EPrints.? In the past I have 
removed the complete VirtualHost block in /etc/httpd/conf.d/ssl.conf to 
fix this.? To make sure all HTTP and HTTPS config for EPrints is loaded 
by Apache, I have also added the following to a new file called 

Include /opt/eprints3/cfg/apache.conf
Include /opt/eprints3/archives/*/ssl/securevhost.conf

This assumes you EPrints path is /opt/eprints3/ and you have added a 
port 443 VirtualHost for HTTPS under at least one archive's 


David Newman

On 13/04/2023 6:10 pm, Alan.Stiles [He/Him/They] via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Okay, sure it?s probably something obvious but I?m not seeing it.
> (eprints 3.3.16 customised, RHEL 7)
> I?ve been trying to rebuild my dev server with the code from our live 
> environment and somewhere in there I?ve messed up apache such that it 
> now shows me the default page from /var/www/html instead of the 
> eprints repository at /opt/eprints/archives/oro/html/en
> (dev is on port 80, though our live server is now running via 80/443)
> Any clues where I should poke at as I?m not getting anywhere fast 
> comparing apache .conf files between two environments.
> Thanks,
> Alan
> *** 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&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd8763cfe79354ca75dbf08db3c6e4aea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638170216615220047%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OxNPfm12h8k%2F26E3fiu8PjipuoUB5So1mfkaOmFlxF0%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd8763cfe79354ca75dbf08db3c6e4aea%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638170216615220047%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MWGaa9gTv7g6xsDYrXIGBk1PZSRWCTJnr999xVwCueY%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230413/683083cb/attachment-0001.html