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

Jost Baron jost.baron at gmx.de
Mon Nov 18 19:13:13 CET 2013


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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSili1AAoJEG6HPMAgWtVzfogQAIQNTVy8UxsRMfuqPD5xLtH3
zsdeLteHBP2Jd293v5owXcfVZJ1aNJsXmWlE1/ncdGlHHRs2MeaajVtwfcoqmlCy
sjMd1XzNmz8dzNeKIbQgb9VjYSKBxVWDHubgdUqh6t8zGvcJglBaLrsBvdRZ2Qq3
bNT57eXDDXK29e9vFpgucVP9IqMZEtcsbwKtj3QZ9YoYHlJ2gGmgqJ6r8uai6kNh
10uu0LWR7Z5lYXTxUtWxaK/6T2NgfqAbb8AT+IiaKoKbxIhb5f+aZ4bXtdFQGxJp
sDbXyW+YO/ke+lgIHBRerjSisZKFMcYXW+C3i6POXjDjBEAm9j0EkSxXn2teMoV1
L5AXzzqwykCbG4voqKxJD6X3D2Cs4jWsgcqKLGXI4EBtG6Bg1XWx7Dv0pm2XapxT
rU0in6Gkk8MBQ1tj21ewQ+tGCDQ3OnsDVTyvxKaooqY8mYjF5cXI/4p8/+b7bxBO
jrCqghPJsZpKJv8TEPLYozNGA80Ro9EDU9ZwuP9oC/ZP/meZLoWqx5LVok7/YElX
QQWS3Em0xKIecg6M7i3DWjRDoRaefxitwC2TpqL5jv+cVVrnbnhzsPj3aLDKf6vT
EgZYzGDlIFRWrGTlpgROEzcQxZgJWG3FtXqQdS/RAr/CPmhxmCk7GViD4NPdEHZ/
OFmuRPrzuuuDX4+BuS3Q
=75Ge
-----END PGP SIGNATURE-----


More information about the TYPO3-english mailing list