[TYPO3-english] Realurl: making .../page = .../page/ = .../page.html

Claudio Strizzolo claudio.strizzolo at ts.nogarb.ageinfn.it
Mon May 17 13:26:09 CEST 2010


Hi again, Dmitry.

> Check mod_rewrite docs. It needs try&test approach.

Thanks. I have just tried by replacing 

RewriteRule (\.html|/)$ /index.php 

with just

RewriteRule .* /index.php 

So my config is now:

  <Directory "/somewhere">
    (...)
    RewriteEngine On

    # Stop rewrite processing if we are in the typo3/ directory
    RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|
uploads|showpic\.php|favicon\.ico)/ - [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule .* /index.php 
  </Directory>

It seems to work, but I am not sure it might not cause any undesired side 
effects. Can you see any problem in the above?

Thanks again

Claudio


More information about the TYPO3-english mailing list