[TYPO3-english] realurl 1.12.7 404 error index.php
Gregor Binder
gregor at catrix.at
Wed Nov 20 19:02:23 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
i found the problem with the rewrite rules. my apache ignored the
htacces, i fixed that. now all the requests are send to index.php
this is the realurl_autoconf.php content:
- ------------------------
<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=unserialize('a:1:{s:8:"_DEFAULT";a:3:{s:4:"init";a:6:{s:16:"enableCHashCache";b:1;s:18:"appendMissingSlash";s:18:"ifNotFile,redirect";s:18:"adminJumpToBackend";b:1;s:20:"enableUrlDecodeCache";b:1;s:20:"enableUrlEncodeCache";b:1;s:19:"emptyUrlReturnValue";s:1:"/";}s:8:"pagePath";a:5:{s:4:"type";s:4:"user";s:8:"userFunc";s:68:"EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main";s:14:"spaceCharacter";s:1:"-";s:14:"languageGetVar";s:1:"L";s:11:"rootpage_id";s:1:"1";}s:8:"fileName";a:3:{s:25:"defaultToHTMLsuffixOnPrev";i:0;s:16:"acceptHTMLsuffix";i:1;s:5:"index";a:1:{s:5:"print";a:1:{s:9:"keyValues";a:1:{s:4:"type";i:98;}}}}}}');
?>
- -------------------------
king regards
gregor
GPG-Key: DCC43794
URL: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x64E70934DCC43794
On 2013-11-20 16:51, Markus Klein wrote:
> Hi!
>
> Does it work without RealUrl? If so, please post the autogenerated
> realurl config from the typo3conf folder.
>
> Kind regards Markus
>
> ------------------------------------------------------------ Markus
> Klein TYPO3 CMS Active Contributors Team Member
>
>
>> -----Original Message----- From:
>> typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
>> bounces at lists.typo3.org] On Behalf Of Gregor Binder Sent:
>> Wednesday, November 20, 2013 4:47 PM To: TYPO3 English Subject:
>> Re: [TYPO3-english] realurl 1.12.7 404 error index.php
>>
> now i installed typo3 6.1.5 fresh and it still doesn't work. the
> realurl chache is still empty. and whatever i type in baseURL or
> absRefPrefix it still doesn't changed anything.
>
> king regards gregor
>
> GPG-Key: DCC43794 URL:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x64E70934DCC43794
>
>
>
> On 2013-11-19 01:11, Gregor Binder wrote:
>>>> i use autoconfig and with and without a domain record nothing
>>>> changed. you have time for the irc?
>>>>
>>>> king regards gregor
>>>>
>>>> GPG-Key: DCC43794 URL:
>>>>
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x64E70934DCC43794
>>>>
>>>>
>>>>
>>>>
>
On 2013-11-19 00:51, Markus Klein wrote:
>>>>> Hi!
>>>>
>>>>> Ok, what's your realurl config like? Are you using
>>>>> autoconfig? If so, did you create the domain record on the
>>>>> root page?
>>>>
>>>>> Kind regards Markus
>>>>
>>>>> ------------------------------------------------------------
>>>>>
>>>>>
Markus Klein TYPO3 CMS Active Contributors Team Member
>>>>
>>>>
>>>>>> -----Original Message----- From:
>>>>>> typo3-english-bounces at lists.typo3.org
>>>>>> [mailto:typo3-english- bounces at lists.typo3.org] On Behalf
>>>>>> Of Gregor Binder Sent: Tuesday, November 19, 2013 12:25
>>>>>> AM To: TYPO3 English Subject: Re: [TYPO3-english] realurl
>>>>>> 1.12.7 404 error index.php
>>>>>>
>>>>> yes i have such a folder structure. i tried your htaccess
>>>>> entries but the problem is the same. i checked the realurl
>>>>> cache under "web->info" and there i have no mappings:
>>>>> https://www.dropbox.com/s/1rn2tv43kqaulag/Screenshot%20-%202013-
>
>>>>>
11-
>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 18%20-%2023%3A57%3A53.png
>>>>
>>>>> king regards gregor
>>>>
>>>>> GPG-Key: DCC43794 URL:
>>>>>
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x64E70934DCC43794
>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>
>
On 2013-11-18 23:54, Markus Klein wrote:
>>>>>>>> Again, please post your current mod_rewrite
>>>>>>>> settings.
>>>>>>>>
>>>>>>>> Do you have anything special in the vhost?
>>>>>>>>
>>>>>>>> I assume this is your directory structure:
>>>>>>>> /var/www/<theVhost>/typo3# ls typo3src typo3
>>>>>>>> index.php .htaccess ...
>>>>>>>>
>>>>>>>> Basically the mod_rewrite commands in your .htaccess
>>>>>>>> should look like this then:
>>>>>>>>
>>>>>>>> RewriteEngine On
>>>>>>>>
>>>>>>>> RewriteBase /typo3/
>>>>>>>>
>>>>>>>> RewriteCond %{REQUEST_FILENAME} !-f RewriteCond
>>>>> %{REQUEST_FILENAME}
>>>>>>>> !-d RewriteRule
>>>>>>>> ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3
>>>>>>>> [L]
>>>>>>>>
>>>>>>>> RewriteRule ^fileadmin/(.*/)?_recycler_/ - [F]
>>>>>>>> RewriteRule ^fileadmin/templates/.*(\.txt|\.ts)$ -
>>>>>>>> [F] RewriteRule
>>>>>>>> ^typo3conf/ext/[^/]+/Resources/Private/ - [F]
>>>>>>>> RewriteRule
>>>>>>>>
> ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\
>>>>>>>> .ico
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
>>>>>>>>
> )
>>>>>>>> - [L]
>>>>>>>>
>>>>>>>> RewriteCond %{REQUEST_FILENAME} !-f RewriteCond
>>>>> %{REQUEST_FILENAME}
>>>>>>>> !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule
>>>>>>>> .* index.php [L]
>>>>>>>>
>>>>>>>> Kind regards Markus
>>>>>>>>
>>>>>>>> ------------------------------------------------------------
>>>>>>>>
>>>>>>>>
>
>>>>>>>>
Markus Klein TYPO3 CMS Active Contributors Team Member
>>>>>>>>
>>>>>>>>
>>>>>>>>> -----Original Message----- From:
>>>>>>>>> typo3-english-bounces at lists.typo3.org
>>>>>>>>> [mailto:typo3-english- bounces at lists.typo3.org] On
>>>>>>>>> Behalf Of Gregor Binder Sent: Monday, November 18,
>>>>>>>>> 2013 11:24 PM To:
> TYPO3
>>>>>>>>> English Subject: Re: [TYPO3-english] realurl 1.12.7
>>>>>>>>> 404 error index.php
>>>>>>>>>
>>>>>>>> i moved the whole installation to a vhost and the
>>>>>>>> subfolder typo3 like in the wiki entry:
>>>>>>>> http://wiki.typo3.org/Realurl/manual but i have still
>>>>>>>> the same problem. when i try to open
>>>>>>>> https://webserver/typo3/startseite i get "The
>>>>>>>> requested URL /typo3/startseite was not found on
>>>>>>>> this server." in the wiki is written that there
>>>>>>>> should be /typo3/startseite.html? wie does my server
>>>>>>>> don't create a startseite.html?
>>>>>>>>
>>>>>>>> king regards gregor
>>>>>>>>
>>>>>>>> GPG-Key: DCC43794 URL:
>>>>>>>>
>>>>>
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x64E70934DCC43794
>>>>>>>>
>>>>>>>>
>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>
On 2013-11-18 19:13, Jost Baron wrote:
>>>>>>>>>>> Hi Gregor,
>>>>>>>>>>>
>>>>>>>>>>> On 11/18/2013 06:50 PM, Gregor Binder wrote:
>>>>>>>>>>>> i have the following rewrite rule:
>>>>>>>>>>>
>>>>>>>>>>>> RewriteEngine On RewriteRule ^/3opyt$ - [L]
>>>>>>>>>>>> RewriteRule ^/3opyt/.*$ - [L] RewriteCond
>>>>>>>>>>>> %{REQUEST_FILENAME} !-f
>>>>> RewriteCond
>>>>>>>>>>>> %{REQUEST_FILENAME} !-d RewriteCond
> %{REQUEST_FILENAME} !-l
>>>>>>>>>>>> RewriteRule .* /index.php
>>>>>>>>>>>
>>>>>>>>>>> I assume these rules are in a .htaccess file in
>>>>>>>>>>> the directory domain.com/3opyt/. In that case,
>>>>>>>>>>> the first two rewrite rules are wrong, they
>>>>>>>>>>> should be
>>>>>>>>>>>
>>>>>>>>>>> RewriteRule ^typo3$ - [L] RewriteRule
>>>>>>>>>>> ^typo3/.*$ - [L]
>>>>>>>>>>>
>>>>>>>>>>> Also, you need to define a RewriteBase for your
>>>>>>>>>>> rules, since you run Typo3 in a subdirectory.
>>>>>>>>>>> It should look like this (placed directly after
>>>>>>>>>>> the directive that switches the rewrite engine
>>>>>>>>>>> on):
>>>>>>>>>>>
>>>>>>>>>>> RewriteBase /3opyt/
>>>>>>>>>>>
>>>>>>>>>>> Currently your server tries to deliver the
>>>>>>>>>>> file https://webserver/index.php, which does
>>>>>>>>>>> not exists - it should be
>>>>>>>>>>> https://webserver/3opyt/index.php
>>>>>>>>>>>
>>>>>>>>>>> HTH, Jost
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> after i cleared the cache i get the following
>>>>>>>>>>>> error on the url
>>>>>>>>>>>> "https://webserver/startseite":
>>>>>>>>>>>
>>>>>>>>>>>> Not Found The requested URL /startseite was
>>>>>>>>>>>> not found on this server.
>>>>>>>>>>>
>>>>>>>>>>>> king regards gregor
>>>>>>>>>>>
>>>>>>>>>>>> GPG-Key: DCC43794 URL:
>>>>>>>>>>>>
>>>>>>>>
>>>>>
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x64E70934DCC43794
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>
On 2013-11-18 18:47, Markus Klein wrote:
>>>>>>>>>>>>> Hi Gregor,
>>>>>>>>>>>
>>>>>>>>>>>>> what do you mean with "it does not generate
>>>>>>>>>>>>> a index.php". Is the RewriteBase in your
>>>>>>>>>>>>> .htaccess correct?
>>>>>>>>>>>
>>>>>>>>>>>>> Kind regards Markus
>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>
>>>>>>>>>>>>>
Markus Klein TYPO3 CMS Active Contributors Team Member
>>>>>>>>>>>
>>>>>>>>>>>>>> -----Original Message----- From:
>>>>>>>>>>>>>> typo3-english-bounces at lists.typo3.org
>>>>>>>>>>>>>> [mailto:typo3-english-
>>>>>>>>>>>>>> bounces at lists.typo3.org] On Behalf Of
>>>>>>>>>>>>>> Gregor Binder Sent: Monday, November 18,
>>>>>>>>>>>>>> 2013 6:42 PM
> To:
>>>>>>>>>>>>>> typo3-english at lists.typo3.org Subject:
>>>>>>>>>>>>>> [TYPO3-english] realurl 1.12.7 404 error
>>>>>>>>>>>>>> index.php
>>>>>>>>>>>>>>
>>>>>>>>>>>>> hi,
>>>>>>>>>>>
>>>>>>>>>>>>> i followed the official manual and i get an
>>>>>>>>>>>>> 404 error that the page index.php can't be
>>>>>>>>>>>>> found. realurl translate the url correct
>>>>>>>>>>>>> to http://domain.abc/startpage/ but it
>>>>>>>>>>>>> doesn't generate a index.php. i have the
>>>>>>>>>>>>> rewrite rules from the manual activated in
>>>>>>>>>>>>> my apache installation. what can be wrong?
>>>>>>>>>>>>> i tried also to get help in the #typo3 irc
>>>>>>>>>>>>> on freenode but no active people are there.
>>>>>>>>>>>>> i tried it since 5 days :-(
>>>>>>>>>>>
>>>>>>>>>>>>> regards gregor
>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>
>>>>>>>>>>>>>>
>
>>>>>>>>>>>>>>
TYPO3-
>>>>>>>> english
>>>>>>>>>>>>>> mailing list
>>>>>>>>>>>>>> TYPO3-english at lists.typo3.org
>>>>>>>>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-englis
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
h
>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>> _______________________________________________ TYPO3-
>>>>>>>> english
>>>>>>>>>>>>> mailing list TYPO3-english at lists.typo3.org
>>>>>>>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>
>>>>>>>>>>>>>
_______________________________________________ TYPO3-
>>>>>>>> english mailing
>>>>>>>>>>> list TYPO3-english at lists.typo3.org
>>>>>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>>
>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>
>>>>>>>>>>>
_______________________________________________
>>>>>>>>> TYPO3-english mailing list
>>>>>>>>> TYPO3-english at lists.typo3.org
>>>>>>>>>
>>>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>
>>>>>>>>>
>
>>>>>>>>>
_______________________________________________ TYPO3-
>>>>> english mailing
>>>>>>>> list TYPO3-english at lists.typo3.org
>>>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>>>>>
>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
>>>>>>>>
>
>>>>>>>>
_______________________________________________
>>>>>> TYPO3-english mailing list TYPO3-english at lists.typo3.org
>>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>
>>>>>
>>>>>>
_______________________________________________ TYPO3-
> english mailing
>>>>> list TYPO3-english at lists.typo3.org
>>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>
>>>>
>>>>>
_______________________________________________ TYPO3-
> english mailing
>>>> list TYPO3-english at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>>
>>
>>>>
_______________________________________________
>> TYPO3-english mailing list TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
> _______________________________________________ TYPO3-english
> mailing list TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSjPkvAAoJEOsup91wvl7nXHAQAL2ZVGda4UqM+Btn5NSaBuS4
8l4L4T5OqaWJ1j9PUxj6iJ4T6bRnWyKpcsuBClDHid2epD+E+x2hSuRVZn5lJINP
Safdn02NbrfkqiO/QCYfN4VMHVsKmWpI0uKSmPYV1fZvPvW2NkhHvojRJGGnjSKS
xrjKYbKdPg0+vQ5yq6TxXih+GJKxG5LyfU98fB94BqwX5Vj6AfKfinbHmztxXOjX
w3w9WN0fPXMzM+RXz8JnNHmYMxTA9sYxvMSJyOtH8zxzqtKu4Rt836wfYwHyq62W
k6IimDK7KBa/QqMyrQTvCJnp9zFHKmVR1VYxYKShYuPJ1Fn0AySAPSIOsiBn4ZlH
l6tfNYPRJ6KmGd6vLAvgrLCz7qHI9qxkcRxCbXH9+jXMSO3eyVrgkZ0Eblh/PHP3
mB2Xl5FsisrbjMbjf5GzOjia7qzrf97eYIK9Fee5nq9bO1bQSCQ+NcN4UXNVYuIw
8T8Sed3Ivqtfy3rFsjlvPxPD8DgiMdeRLaNvSBwKRDmpT2zotnNTR83eEevW+0OR
UXjMaLYVVjuN9CkjWNrLT2tggTgxGg3RMnFvX5pORmkVA6RHmo5Z29ctQpHOPQpV
Fi9LdFJ4c0XE+qUSOlfdbFprCaDJIJwUAEpl0DnE6ODQZleA6YiHB4FBUCFIF6vv
LQ323EEEx+y9Gs5saUgl
=7noA
-----END PGP SIGNATURE-----
More information about the TYPO3-english
mailing list