Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    SFX conditional display

    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    On the Full page header, full-set-head, the SFX button comes through on $1100 unconditionally, whether or not the record contains an 856 field. Is this working as intended, or can I make it conditional in some way?

    Resolution:
    SFX button Conditional display in ALEPH OPAC (defined in tab_sfx), please read the following instructions for apache configuration:

    1. In the reverse proxy httpd.config file found in /exlibris/sfx_ver/sfx_version_3/sfxglb3/config/reverse_proxy_httpd.config__

    Please add add for each sfx instance the two bolded lines

    # Global Instance
    ProxyPass /sfxadmin/sfxglb3 http://localhost:3001/sfxadmin/sfxglb3
    ProxyPassReverse /sfxadmin/sfxglb3 http://localhost:3001/sfxadmin/sfxglb3
    ProxyPass /sfxglb3 http://localhost:3001/sfxglb3
    ProxyPassReverse /sfxglb3 http://localhost:3001/sfxglb3
    ProxyPass /SFX_API/sfxglb3 http://localhost:3001/SFX_API/sfxglb3
    ProxyPassReverse /SFX_API/sfxglb3 http://localhost:3001/SFX_API/sfxglb3

    It can also use ver2 instance names like

    # For instance sfxtst3
    ProxyPass /sfx_test http://localhost:3003/sfx_test
    ProxyPassReverse /sfx_test http://localhost:3003/sfx_test
    ProxyPass /sfxadmin/sfx_test http://localhost:3003/sfxadmin/sfx_test
    ProxyPassReverse /sfxadmin/sfx_test http://localhost:3003/sfxadmin/sfx_test
    ProxyPass /SFX_API/sfx_test http://localhost:3003/SFX_API/sfx_test
    ProxyPassReverse /SFX_API/sfx_test http://localhost:3003/SFX_API/sfx_test

    Need to make sure that the internal port (e.g. 3003) and instance name are consistent to the rest of the section

    Restart the reverse proxy apache using server_admin_util

    2. In the config directory of each instance, edit the file local_httpd.config and add the bolded line:

    # For backward compatibility
    ScriptAlias /sfxglb3 /exlibris/sfx_ver/sfx_version_3/sfxglb3/cgi/core/sfxmenu.cgi
    ScriptAlias /SFX_API/sfxglb3 /exlibris/sfx_ver/sfx_version_3/sfxglb3/cgi/core/sfxmenu.cgi
    ScriptAlias /external_export/sfxglb3 /exlibris/sfx_ver/sfx_version_3/sfxglb3/sfxadmin/external_export.cgi

    <Directory "/exlibris/sfx_ver/sfx_version_3/sfxglb3/cgi/core/sfxmenu.cgi">
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI
    </Directory>

    Make sure to use the correct instance name.

    Restart the instance Apache

    Additional Information

    tab_sfx, sfx conditional display,


    • Article last edited: 10/8/2013
    • Was this article helpful?