[TYPO3] CoolUri problem with subdirectory

Florian Klug flurl at flologics.info
Mon Sep 8 20:27:28 CEST 2008


On Monday 08 September 2008 20:00, Fearless Goblin (Victor Livakovsky) 
wrote:
> > i'm using typo3 4.2.1 with CoolURI 1.0.15. Typo3 is installed in a
> > subdir of my webroot called cms/.
> >
> > It works very well except for one problem: When i access the site like
> > http://www.wildpacher.at/cms/index.php everything is ok, though
> > http://www.wildpacher.at/cms/ throws a "page not found!" error page.
> >
> > my .htaccess
> > ---------------------------
> > RewriteEngine On
> > RewriteBase /cms/
> > RewriteRule
> > ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|
> > showpic\.php)$ - [L]
> > RewriteRule
> > ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|
> > showpic\.php)/.*$ - [L]
> > RewriteCond %{REQUEST_FILENAME} !-f
> > RewriteCond %{REQUEST_FILENAME} !-d
> > RewriteCond %{REQUEST_FILENAME} !-l
> > RewriteRule .* index.php
>
> Try to add following line into your .htaccess in "cms" folder:
>
> DirectoryIndex index.php index.html
>
> It sets the order of files, wich web-server will search, if no file is
> specified in url (http://www.wildpacher.at/cms/).
> Hope it'll help you.

thanks for your fast answer, but this doesn't help.
Btw, the typo3 index.php has to be found, otherwise i would excpect an 
apache error page. The "page not found" is a 404 from typo3.

greetz
flo


More information about the TYPO3-english mailing list