[TYPO3-english] RealURL automatic conf problem

Xavier Perseguers typo3 at perseguers.ch
Tue Sep 22 08:57:25 CEST 2009


Hi,

Funny:

Tomiţă MILITARU wrote:
> I've deleted the file _.htaccess and I have now the file .htaccess:
> RewriteBase /typo

^^^ Are you sure you need this? I doubt!

>   RewriteEngine On
>   RewriteRule ^typo3$ - [L]
>   RewriteRule ^typo3/.*$ - [L]
>   RewriteCond %{REQUEST_FILENAME} !-f
>   RewriteCond %{REQUEST_FILENAME} !-d
>   RewriteCond %{REQUEST_FILENAME} !-l
>   RewriteRule .* index.php

I have this instead:

RewriteEngine On
RewriteRule 
^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ 
- [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php [L]

As you see, there's a few differences but IIRC mine is more or less the 
one given by TYPO3 distribution

-- 
Xavier Perseguers
MVC ExtJS Leader

http://forge.typo3.org/projects/show/extension-mvc_extjs


More information about the TYPO3-english mailing list