douzhongjian0752 2018-06-28 08:16
浏览 39

TYPO3 6.2中的链接验证器(错误:403,代理验证)

Our customers need a list of deadlinks. The customer's website is currently running on TYPO3 6.2. The idea was to use the core extension "Link Validator".

Our problem is that our company is behind a strict proxy and the linkvalidator throws a 403 error (proxy authentication) by all external links.

Is there a solution to give the "Link Validator" a proxy configuration?

  • 写回答

1条回答 默认 最新

  • dtbam62840 2018-07-10 09:47
    关注

    Go to the Install Tool, click All configuration and change the settings following settings:

    • [HTTP]['proxy_host']
    • [HTTP]['proxy_port']
    • etc.

    Linkvalidator for TYPO3 6.2 uses the class TYPO3\CMS\Core\Http\HttpRequest for checking external links. This uses the proxy settings, so this should work.

    If this does not work, you can write an extension which uses the existing hook in Linkvalidator to override the default class Linkvalidator uses to check external links (ExternalLinktype). If you choose to do this, probably best to ask another question about that on SO.

    评论

报告相同问题?