<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><![if mso 9]><style>p.MsoNormal
        {margin-left:3.0pt;}
</style><![endif]><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple style='margin-left:3.0pt;margin-top:3.0pt;margin-right:3.0pt;margin-bottom:.75pt'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You could also try (on the server):<br>>apachectl -S<br> - This should dump the VHosts – so you can check the EPrints config is being loaded OK.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Do you get the same thing when connecting over http and https?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<br>John<o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] <b>On Behalf Of </b>Simon Jennings<br><b>Sent:</b> 26 September 2014 14:44<br><b>To:</b> eprints-tech@ecs.soton.ac.uk<br><b>Subject:</b> [EP-tech] Re: first install - problem with apache config?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Hi Michael,<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>I've just done this myself.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>My main problems were in changing the <archive_id> in the .conf but it looks like you did this.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>It could be step 4, where you need to add the domain name to the hosts file?<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Simon. <o:p></o:p></span></p><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Dr Simon Jennings.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Research Data Management Software Developer<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Library & Archives Service<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>London School of Hygiene and Tropical Medicine<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><a href="mailto:simon.jennings@lshtm.ac.uk">simon.jennings@lshtm.ac.uk</a><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><br><br>>>> Michael Comerford <<a href="mailto:Michael.Comerford@glasgow.ac.uk">Michael.Comerford@glasgow.ac.uk</a>> 26/09/2014 14:34 >>><br>I'm trying to install EPrints on Ubuntu 14.04 I've followed the guide for 14.04 from here:<br><a href="http://wiki.unimas.my/unimaswiki/bin/view/HOW-TO,+Tutorial+&+User+Manual/HOW-TO+:+Install+Eprints+v3.3.12++on+Ubuntu+14.04+With+LDAP+Authentication">http://wiki.unimas.my/unimaswiki//bin/view/HOW-TO,+Tutorial+&+User+Manual/HOW-TO+:+Install+Eprints+v3.3.12++on+Ubuntu+14.04+With+LDAP+Authentication</a><br><br>Install seems fine, apache log looks fine, <br><br>but I still only get the default Apache page when I visit the host and port Eprints is set up for.<br><br>I was assuming its a problem with my virtual host setup in /usr/share/epints3/apache/<archive-id>.conf<br><br>This is what that file looks like:<br><br>#<br># apache.conf include file for ir<br>#<br># Any changes made here will be lost if you run generate_apacheconf<br># with the replace option<br>#<br><br># The main virtual host for this repository<br><VirtualHost *:80><br> ServerName ubdc-r720xd-2<br><br> ServerAdmin **************<br><br> <Location ""><br> PerlSetVar EPrints_ArchiveID ubdc2<br><br> Options +ExecCGI<br> # Order allow,deny<br> # Allow from all<br> Require all granted<br> </Location><br> ErrorLog ${APACHE_LOG_DIR}/eprintserror.log<br> CustomLog ${APACHE_LOG_DIR}/eprintsaccess.log combined<br><br> # Note that PerlTransHandler can't go inside<br> # a "Location" block as it occurs before the<br> # Location is known.<br> PerlTransHandler +EPrints::Apache::Rewrite<br><br></VirtualHost><br><br>Am I looking in the right place for the problem?<br><br>Thanks,<br><br>Michael<br><br>------------------------------------ <br>Michael Comerford<br>Research Data Scientist<br>urbanbigdatacentre.ac.uk<br><br>7/407 Lilybank Gardens<br>University of Glasgow<br>+44 (0)141 330 2888<br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>*** Archive: <a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a><br>*** EPrints community wiki: <a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a><br>*** EPrints developers Forum: <a href="http://forum.eprints.org/">http://forum.eprints.org/</a><o:p></o:p></span></p></div></div></body></html>