[TYPO3] CoolUri problem with subdirectory

Fearless Goblin (Victor Livakovsky) v-tyok at mail.ru
Mon Sep 8 20:00:51 CEST 2008


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



More information about the TYPO3-english mailing list