[TYPO3-Solr] Indexing of restricted pages

redacted user redacted-user at example.org
Thu Feb 12 19:58:48 CET 2015


Hello everyone,

I'm struggling to get the indexing of pages to work if a page is only available to a specific frontend user group. The following setup is used:

* TYPO3 (6.2.4)
* solr (3.0.0)
* solrfal (2.0.0)
* https_enforcer (2.0.1)

Solr seems to be set up correctly: The connection to the solr server and the indexing of pages, tt_news, files etc. works. If a page is available only to a FE user belonging to a specific FE user group, the indexing process failes with the following exception:

1: exception 'TYPO3\CMS\Core\Error\Exception' with message 'PHP Warning:
file_get_contents(<url of site>): failed to open
stream: HTTP request failed! HTTP/1.0 403 Forbidden in
typo3conf/ext/solr/Classes/IndexQueue/PageIndexerRequest.php line 144' in
typo3_src-6.2.4/typo3/sysext/core/Classes/Error/ErrorHandler.php:101

Furthermore the frontend login works as expected.

PHP (5.4.20) is configured as follows (CLI and Apache2):
* allow_url_fopen is set to "on", which seems to be mandatory for file_get_contents to work,
* the extension openssl is loaded.

On TYPO3 4.5 the indexing of restricted pages works. The setup:
* TYPO3 (4.5.32)
* solr (2.8.3)
* solrfile (1.0.2)
* https_enforcer (1.0.12)

Is there a significant change in configuration from solr 2.8.3 to solr 3.0.0 that needs to be respected in order to get the indexing of restricted pages to work?

Please let me know if further information is needed. I'm thankful for every hint!

Cheers,
Thomas



More information about the TYPO3-project-solr mailing list