[TYPO3-english] RealURL + https_enforcer on a non-default port
Sebastian Runge
sebastian.runge at uni-rostock.de
Wed Dec 8 12:19:27 CET 2010
Hello Claudio,
do you find a solution yet?
We've got the same problem (RealURL 1.10.0 and 1.10.1). We've got NO
problems with RealURL 1.9.4, so i downgrade to this version.
best regards
Sebastian
Am 14.10.2010 09:52, Claudio Strizzolo schrieb:
> Hi all,
> I am setting up a multi-domain site using RealURL. Some pages in one of
> the domains must be accessible only through https on port 8078 (443 and
> others are already busy).
>
> I am trying to use https_enforcer extension to get this.
>
> I set up everything, and the normal http pages work well. Instead, the
> https pages do not.
> Whenever I try to access one of them, the URL is translated from
>
> http://www.example.com/path/to/page.html
>
> to
>
> https://www.example.com:8078/path/to/page.html
>
> which looks correct. But the following message is displayed:
>
> "Reason: RealURL error: unable to determine rootpage_id
> for the current domain."
>
> I attach below some configuration.
> Any hints?
>
> Thanks in advance.
> Best regards,
>
> Claudio
>
>
>
> localconf.php:
> --------------
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
> '_DEFAULT' => array(
> 'init' => array(
> 'enableCHashCache' => 1,
> 'appendMissingSlash' => 'ifNotFile',
> 'enableUrlDecodeCache' => 1,
> 'enableUrlEncodeCache' => 1,
> ),
>
> 'redirects' => array (),
>
> 'preVars' => array(
> '0' => array (
> 'GETvar' => 'no_cache',
> 'valueMap' => array (
> 'nc' => '1'
> ),
> 'noMatch' => 'bypass'
> ),
>
> ),
>
> 'pagePath' => array(
> 'type' => 'user',
> 'userFunc' => 'EXT:realurl/
> class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => '10',
>
> 'rootpage_id' => '34',
> ),
> ),
>
> 'fixedPostVars' => array(),
>
> (...)
>
> ),
> ),
>
> );
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.example.com'] =
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
> // Here we set up the rootpage_id for www.example.com
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.example.com']['pagePath']
> ['rootpage_id'] = 1694;
>
>
> TS setup:
> ---------
> config {
>
> simulateStaticDocuments=0
>
> no_cache = 0
>
> baseURL=http://www.example.com/
>
> tx_realurl_enable=1
>
>
>
> ## Fix broken inter-domain links
>
> typolinkCheckRootline = 1
>
> }
>
> https_enforcer.unsecure_typo3_root=www.example.com
>
> https_enforcer.secure_typo3_root=www.example.com:8078
>
> https_enforcer.require_ssl=0
>
> https_enforcer.sslPort=8078
More information about the TYPO3-english
mailing list