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

[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 at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] ON BEHALF OF Simon Jennings
> SENT: 26 September 2014 14:44
> TO: eprints-tech at 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 
> 
> simon.jennings at lshtm.ac.uk 
> 
>>>> Michael Comerford <Michael.Comerford at 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 [5]
> 
> 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 [1]
> *** Archive: http://www.eprints.org/tech.php/ [2]
> *** EPrints community wiki: http://wiki.eprints.org/ [3]
> *** EPrints developers Forum: http://forum.eprints.org/ [4] 
> 
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech [1]
> *** Archive: http://www.eprints.org/tech.php/ [2]
> *** EPrints community wiki: http://wiki.eprints.org/ [3]
> *** EPrints developers Forum: http://forum.eprints.org/ [4]

 

Links:
------
[1] http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
[2] http://www.eprints.org/tech.php/
[3] http://wiki.eprints.org/
[4] http://forum.eprints.org/
[5]
http://wiki.unimas.my/unimaswiki/bin/view/HOW-TO,+Tutorial+&amp;+User+Manual/HOW-TO+:+Install+Eprints+v3.3.12++on+Ubuntu+14.04+With+LDAP+Authentication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140926/43693b5c/attachment.html