EPrints Technical Mailing List Archive

Message: #03504


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: first install - problem with apache config?


Isn't the apache conf derived from the local "cfg.d" conf? 

$ bin/generate_apacheconf --system --replace

Seb

On 26.09.2014 15:01, John Salter wrote:

You could also try (on the server):
>apachectl -S
- This should dump the VHosts – so you can check the EPrints config is being loaded OK.

Do you get the same thing when connecting over http and https?

Cheers,
John

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Simon Jennings
Sent: 26 September 2014 14:44
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: first install - problem with apache config?

 

Hi Michael,

 

I've just done this myself.

 

My main problems were in changing the <archive_id> in the .conf but it looks like you did this.

 

It could be step 4, where you need to add the domain name to the hosts file?

 

Simon.

 

Dr Simon Jennings.

Research Data Management Software Developer

Library & Archives Service

London School of Hygiene and Tropical Medicine

 

 



>>> Michael Comerford <Michael.Comerford@glasgow.ac.uk> 26/09/2014 14:34 >>>
I'm trying to install EPrints on Ubuntu 14.04 I've followed the guide for 14.04 from here:
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

Install seems fine, apache log looks fine,

but I still only get the default Apache page when I visit the host and port Eprints is set up for.

I was assuming its a problem with my virtual host setup in /usr/share/epints3/apache/<archive-id>.conf

This is what that file looks like:

#
# apache.conf include file for ir
#
# Any changes made here will be lost if you run generate_apacheconf
# with the replace option
#

# The main virtual host for this repository
<VirtualHost *:80>
  ServerName ubdc-r720xd-2

  ServerAdmin **************

  <Location "">
    PerlSetVar EPrints_ArchiveID ubdc2

    Options +ExecCGI
   # Order allow,deny
   # Allow from all
    Require all granted
  </Location>
  ErrorLog ${APACHE_LOG_DIR}/eprintserror.log
  CustomLog ${APACHE_LOG_DIR}/eprintsaccess.log combined

  # Note that PerlTransHandler can't go inside
  # a "Location" block as it occurs before the
  # Location is known.
  PerlTransHandler +EPrints::Apache::Rewrite

</VirtualHost>

Am I looking in the right place for the problem?

Thanks,

Michael

------------------------------------        
Michael Comerford
Research Data Scientist
urbanbigdatacentre.ac.uk

7/407 Lilybank Gardens
University of Glasgow
+44 (0)141 330 2888
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/