[TYPO3-Solr] Index Qeue job wrong URL when cron used
Lienhart Woitok
Lienhart.Woitok at netlogix.de
Fri Mar 18 10:58:59 CET 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Rolf,
I normally have a Cronjob line like the following for this:
[ -f /var/www/foo/typo3/cli_dispatch.phpsh ] && cd /var/www/foo && HTTP_HOST=www.example.com /usr/bin/php5 typo3/cli_dispatch.phpsh scheduler
That way you avoid having the path in the URL. Setting the HTTP_HOST environment variable helps with TS conditions and stuff like that.
Hope this helps.
Regards
Lienhart
Am 17.03.16 18:41 schrieb "typo3-project-solr-bounces at lists.typo3.org im Auftrag von Rolf Nakielski" <typo3-project-solr-bounces at lists.typo3.org im Auftrag von rolf at nakielski.de>:
>I've got some similar Problem.
>I have tx_news articles indexed. The Detail Page for
>plugin.tx_solr.index.queue.news.url.typolink.parameter
>is a page where "use protocol" is set to https://
>
>Runs very well when klicking in the scheduler. Running it by a cronjob I have the server path included in the url.
>Looks like this has the same effect as setting typolink.forceAbsoluteUrl = 1
>
>When I change "use protocol" to http:// it runs well by a cronjob.
>The workaround as described above cannot be used here because it is not a setting of the solr plugin.
>
>Any ideas? Is there some switch somewhere that tells typolink what to assume as the default scheme?
>
Lienhart Woitok
Web-Entwickler | netlogix Web Solutions
Telefon: +49 (911) 539909 - 0
E-Mail: Lienhart.Woitok at netlogix.de
Web: websolutions.netlogix.de
- ----------------------------
Web Solutions News
Einblicke in unsere Arbeit. https://websolutions.netlogix.de/referenzen
Jobs in unserem Team. https://websolutions.netlogix.de/jobs
- ----------------------------
netlogix GmbH & Co. KG
IT-Services | IT-Training | Web Solutions
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Web: http://www.netlogix.de
netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt
_______________________________________________
>TYPO3-project-solr mailing list
>TYPO3-project-solr at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.3.2 (Build 15917)
Charset: utf-8
wpUDBQFW69FkWevMF2ftbKMBCI+8BACZsOrEHpT/iVdpTKh5yqkK3nnjtbfa4kN+
4coDrgeopf9YvD5/KbQhsqvRMCqzrqCvLx6O8IQEW320Ixyu8kSoRAVa/M8WZTO+
KsXSu9A/MRSS94owaF8kfU9mISk7pW4BX88baY2pwpLVuBRSzQ66HpfGXF0FlhlZ
4ZGbqE8m0Q==
=uzdV
-----END PGP SIGNATURE-----
More information about the TYPO3-project-solr
mailing list