[TYPO3-english] realurl 1.12.7 404 error index.php

Gregor Binder gregor at catrix.at
Tue Nov 19 00:25:14 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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-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/

iQIcBAEBAgAGBQJSiqHaAAoJEOsup91wvl7nHdcQAM+Ho4+XyOdsLZ4KXNdfZHYz
tKw6IuPsDsiBdwMUs41RTMVuIdUMry+7gd6wOYe02QAyc9LiNwLyKsMEMk6z+Rtk
AZSv9DxRDmVOU5Ruo3cv7vk2Tse2qiu/A83SdUplwtzPgA1DuODYlkPFRrdW1jQq
Ez5LrybjkyGTup+/fktztrYafcfonFux2Z5qI3zFxKw3SPi/ARS/H/VMWPOHGOEA
plvxD9nsg+63Eq0DsEIGTGywQYv1N76GqkRJ3FiqE6qoCo6pC58Jx9idbKWMC7kU
i+ZHiHwo66909uBeHvPX30xwd8Sir8iwqJJr34BntFR+2QHO3zkIfTjCx81deuv3
LtdbOSy96bkQ94Gv2Ytfii+sODHTRUYZLCvCpoSrtyGK3WNeD//pdpUSLQNL8zge
tpIom6VvVT5dkvRnutXZIG3kI01bV0bK1b6BMUXQx13y3Nb1qdIY+DADh5b1ePds
3cfVBi+seKtHCG8TbwvWd9P5ZjSnArAHNozrrFsfrVojJyENkNdj5COPbp7isXdH
ER1xU7sbPorJkFlIP1rhJS1Ay38tqtA7HHoShJyBJr64IO3PoqdWcnfwG8Z210SF
bE7q7mVGI1dRqq2bg/37lNxEozitBmsdZUbmF8H83n9Ufzd61Y62j/Yw6S3EX5nM
ilK41hHYVTZyDedRCioB
=Yrrf
-----END PGP SIGNATURE-----


More information about the TYPO3-english mailing list