EPrints Technical Mailing List Archive

Message: #00242


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

[EP-tech] Re: post installation issue


Hi

Can you show the content of archives/publications_new/cfg/cfg.d/10_core.pl?


bash-4.1$ cat 10_core.pl |more
# This file was created by bin/epadmin
# You can regenerate this file by doing ./bin/epadmin config_core publications_new
$c->{host} = 'eprints.ccmb.res.in';
$c->{port} = '80';
$c->{aliases} = [
                  {
                    'redirect' => 'yes',
                    'name' => 'eprints.ccmb'
                  },
                  {
                    'redirect' => 'yes',
                    'name' => 'eprints'
                  },
                  {
                    'redirect' => 'yes',
                    'name' => 'eprints.ccmb.res.in'
                  },
                  {
                    'redirect' => 'yes',
                    'name' => 'eprints'
                  }
                ];
$c->{securehost} = '';
$c->{secureport} = 443;
$c->{http_root} = undef;
bash-4.1$ 

And what URL do you use to access the service (with your web browser)?

The URL is http://eprints.ccmb.res.in


URLs are automatically generated by EPrints so they shouldn't need any 
extra configuration. If you did use static URLs then have a look inside 
archives/publications_new/cfg/lang/en/templates/*.xml

bash-4.1$ more default.xml
   
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE html SYSTEM "entities.dtd" > 

<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:epc="http://eprints.org/ep3/control";>
  <head>
    <title><epc:pin ref="title" textonly="yes"/> - <epc:phrase ref="archive_name"/></title>
	<epc:pin ref="login_status_header"/>
    <script type="text/javascript" src="{$config{rel_path}}/javascript/auto.js"><!-- padder --></script>
    <style type="text/css" media="screen">@import url(<epc:print expr="$config{rel_path}"/>/style/auto.css);</style>
    <style type="text/css" media="print">@import url(<epc:print expr="$config{rel_path}"/>/style/print.css);</style>
    <link rel="icon" href="{$config{rel_path}}/favicon.ico" type="image/x-icon"/>
    <link rel="shortcut icon" href="{$config{rel_path}}/favicon.ico" type="image/x-icon"/>
    <link rel="Top" href="{$config{frontpage}}"/>
    <link rel="Search" href="{$config{http_cgiurl}}/search"/>
    <epc:pin ref="head"/>
    <style type='text/css' media="screen">@import url(<epc:print expr="$config{rel_path}"/>/style/nojs.css);</style>
    <script type="text/javascript" src="{$config{rel_path}}/javascript/jscss.js"><!-- padder --></script>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <epc:pin ref="pagetop"/>
    <div class="ep_tm_header ep_noprint">
      <div class="ep_tm_logo"><a href="{$config{frontpage}}"><img alt="Logo" src="{$config{rel_path}}{$config{site_logo}}" /></a></div>
      <div><a class="ep_tm_archivetitle" href="{$config{frontpage}}"><epc:phrase ref="archive_name"/></a></div>

  <ul class="ep_tm_menu"><li><a href="{$config{http_url}}"><epc:phrase ref="template/navigation:home" /></a></li><li><a href="{$config{http_url}}/information
.html"><epc:phrase ref="template/navigation:about" /></a></li><li><a href="{$config{http_url}}/view/year/"><epc:phrase ref="bin/generate_views:indextitlepref
ix" /><epc:phrase ref="viewname_eprint_year" /></a></li><li><a href="{$config{http_url}}/view/subjects/"><epc:phrase ref="bin/generate_views:indextitleprefix
" /><epc:phrase ref="viewname_eprint_subjects" /></a></li><li><a href="{$config{http_url}}/view/divisions/"><epc:phrase ref="bin/generate_views:indextitlepre
fix" /><epc:phrase ref="viewname_eprint_divisions" /></a></li><li><a href="{$config{http_url}}/view/creators/"><epc:phrase ref="bin/generate_views:indextitle
prefix" /><epc:phrase ref="viewname_eprint_creators" /></a></li></ul>

  <table class="ep_tm_searchbar" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td align="left"><epc:pin ref="login_status"/></td>
      <td align="right" style="white-space: nowrap">
	  	<epc:pin ref="languages" />
        <form method="get" accept-charset="utf-8" action="{$config{http_cgiurl}}/search" style="display:inline">
          <input class="ep_tm_searchbarbox" size="20" type="text" name="q"/>
          <input class="ep_tm_searchbarbutton" value="Search" type="submit" name="_action_search"/>
          <input type="hidden" name="_action_search" value="Search"/>
          <input type="hidden" name="_order" value="bytitle"/>
          <input type="hidden" name="basic_srchtype" value="ALL"/>
          <input type="hidden" name="_satisfyall" value="ALL"/>
        </form>
      </td>
    </tr>
  </table>
</div>


<div align="center">
  <epc:pin ref="toolbar" />
  <table width="720" class="ep_tm_main"><tr><td align="left">
    <h1 class="ep_tm_pagetitle"><epc:pin ref="title"/></h1>
    <epc:pin ref="page"/>
  </td></tr></table>
</div>


<div class="ep_tm_footer ep_noprint">
  <epc:phrase ref="ruler" />
  <hr class="ep_tm_last"/>
  <div style="float: right; margin-left: 1em"><a href="http://eprints.org/software/";><img alt="EPrints Logo" src="{$config{rel_path}}/images/eprintslogo.gif"
 border="0"/></a></div>
  <div style="font-size: 80%;">
  <epc:phrase ref="template:about_eprints" />
  </div>
</div>


  </body>
</html>
bash-4.1$ 

Hope this fulfills yuur needs.

with thanks
s.mahalingam




BEGIN:VCARD
VERSION:3.0
FN:smal
N:;smal;;;
EMAIL;TYPE=internet:smal@ccmb.res.in
REV:2011-10-23T06:39:24Z
UID:d8497f84-b15b-4897-b8ed-8dbb73a1b39f:21435
END:VCARD