Ticket #926 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

ndgprod live discovery shows ndgprod.badc.rl.ac.uk

Reported by: selatham Owned by: mpritcha
Priority: required Milestone: Reporting
Component: discovery Version:
Keywords: DiscoveryService Cc: mpritcha

Description (last modified by selatham) (diff)

After you have searched on http://ndg.nerc.ac.uk/discovery and clicked 'more' the URL reverts to ndgprod.badc.rl.ac.uk.

Is this an apache or pylons problem?

Change History

comment:1 Changed 12 years ago by selatham

  • Description modified (diff)

comment:2 Changed 11 years ago by selatham

  • Cc mpritcha added
  • Priority changed from critical to required

Here's the pylons config:-

# the following is the server on which this browse/discovery instance runs!
#server:         http://localhost
server:         http://ndgprod.badc.rl.ac.uk
...
...
[SEARCH]
advancedURL:        %(ndgServer)s/discovery
discoveryURL:       %(ndgServer)s/discovery
helpURL:            %(ndgServer)s/discovery?help=1

Then in Apache (see the httpd.conf for full thing)we have:-

        ServerName ndgprod.badc.rl.ac.uk
        #ServerAlias ndg.nerc.ac.uk
        DocumentRoot /var/www/ndg/htdocs

Would using the ServerAlias? help?

comment:3 Changed 11 years ago by lawrence

Actually, in the pylons config, the server should be http://ndg.nerc.ac.uk, and the virtual host in apache should also be ndg.nerc.ac.uk running on ndgprod ...

comment:4 Changed 11 years ago by lawrence

  • Keywords DiscoveryService added
  • Component changed from DiscoveryService to discovery

Moved from DiscoveryService? component to discovery as part of NDG2 cleanup

comment:5 Changed 11 years ago by sdonegan

  • Status changed from new to closed
  • Resolution set to fixed

seems fine now - I think pylons config we adjusted has sorted the problem

Note: See TracTickets for help on using tickets.