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

Markus Klein klein.t3 at mfc-linz.at
Mon Nov 18 23:54:51 CET 2013


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
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.14 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iQIcBAEBAgAGBQJSipNjAAoJEOsup91wvl7noG0QAOLBWBYDn4LRriZtGax0aA
> N9
> gkOJy0nRLgjn1Oj5RWeV0isgkcY5vR0I22FoMlLKRySzO5JnznbJrnsFotaXqfNT
> ndByVmDIMA4ADcaiNCxPT0115utaycOenIFh7jJTs3qvS80IlqA3h8K5jI2YZEIP
> kJFlv92kXJCznBf61b6kR0B28jwDIbcGexwotfTvYvrWhVdsQ8X9KTAZgb0dOYXk
> XWqogBVuZpyKurSjQDXtSst8GpnF6CznviWyRB8Zb5hQ48sqPiYZKEPMpUX2/
> BPM
> 1MdnVmh0T3cMFY/UboMA6auEq8747jGj6b3eLjPSQddSb6BSXSlDwbhStK+1F
> 1vX
> ALpS6lxeDUMI5bsZ0fxudFmSuv8rFHUe0pedTInI3X2LglkjwJKs0UIjBcOI30JN
> Pa7ZTZ9t1kuNQByE9EPq/4mDjexjLsxECsokGa6vc8fOd6tNYnpSbb668ZTKv6uY
> U+3jtDiwsF9fxHpOGbE32Thw+QvakQxM7lFLJffM8RPi8s6epCB18qrpM94l2Y8
> m
> 4IEgdAjeJNMzWsHqFYBlv483IMXKRJMFOFzsjKW0PLdCjocmjGNCBuYo2VVYs
> oqP
> hSx7gq5lJ1Ga8fLlzllehGi+HlTS2PX8azBeXPeEW7YSB/CSvobUCG4LQ5YARMcd
> cAAZ362dDDG7dRSbbm/F
> =ygFj
> -----END PGP SIGNATURE-----
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list