PubMed

PubMed requires SSL Configuration and the following database definition in config.txt:

ProxyHostnameEdit www.ncbi.nlm.nih.gov$ www-ncbi-nlm-nih-gov
AnonymousURL http://www.ncbi.nlm.nih.gov/corehtml/query/static/pubmedsearch.xml*
Option CookiePassThrough
Title PubMed
URL https://www.ncbi.nlm.nih.gov/pubmed
HJ https://ncbi.nlm.nih.gov/pubmed
HJ www.ncbi.nlm.nih.gov/pubmed
HJ ncbi.nlm.nih.gov/pubmed
DJ nih.gov
DJ static.pubmed.gov
# dx.doi.org provides linking Nature, Springer, Wiley, and others
DJ dx.doi.org
# linkinghub.elsevier.com provides linking to Elsevier and ScienceDirect
DJ linkinghub.elsevier.com
# djwkheath.com provides access to Wolters Kluwer licensed resources from PubMed
DJ wkhealth.com
Find &url=http://
Replace &url=http://^A
Find &url=http://
Replace &url=http://^A
Find fref.fcgi?http://
Replace fref.fcgi?http://^A
Find 'https://' + window.location.hostname
Replace 'https://^swww.ncbi.nlm.nih.gov^'
Find 'https://' + window.location.host +
Replace 'https://^swww.ncbi.nlm.nih.gov^' +
Find www.ncbi.nlm.nih.gov
Replace ^pwww.ncbi.nlm.nih.gov^
Find url(//static.pubmed.gov/portal/
Replace url(/portal/
Find href="//static.pubmed.gov/portal/
Replace href="/portal/
AnonymousURL -*
Option Cookie

The MyNCBI feature in PubMed uses https which requires the SSL configuration on your EZproxy server.

PubMed requires the lines up to DJ static.pubmed.gov to work properly and the Find/Replace lines, although you can modify the URL line to point to your own holdings URL if relevant. Additional HJ statements may be added for other resources you would like to use in starting point URLs, for example:

HJ https://eutils.ncbi.nlm.nih.gov
HJ https://pubchem.ncbi.nlm.nih.gov
HJ https://www.pubmedcentral.nih.gov

The lines between DJ static.pubmed.gov and the Find/Replace lines are for linking hosts that are used to link from PubMed to content held in licensed databases. You may omit the linking host lines if they are not relevant to your needs. The final 3 sets of Find/Replace lines were added during testing for the http to https switch by EZproxy users. They may be unnecessary, but have been left in because they do no harm.

The linking lines for EBSCOhost that appeared in earlier definitions of PubMed were removed since the standard definition for EBSCOhost contains everything needed to insure that links from PubMed to EBSCOhost will be handled correctly.