[TYPO3-english] regexp for url_rewrite/ the solution is

Daniel Bruessler danielb at typo3.org
Thu May 14 18:30:30 CEST 2009


Hello,

the solution is: it's needed to escape a space. The correct version is this:

RewriteRule ^(.+)\.(\ |_|%20)+(.+)$ /index.php?title=$1_.$3 [L]

Cheers!
Daniel

> Hello,
> 
> why does this lead to an internal server error?
> 
> RewriteRule ^(.+)\.( |_|%20)+(.+)$ /index.php?title=$1_.$3 [L]
> 
> Test-cases:
> Dam_1._Documentation
> Dam 1. Documentation
> Dam%201.%20Documentation
> 
> The regexp-tester says it does match properly.
> http://regexpal.com/
> 
> This is has the same result:
> RewriteRule ^(.+)\.( |_|\%20)+(.+)$ /index.php?title=$1_.$3 [L]
> 
> Thanks!
> Cheers!
> Daniel


More information about the TYPO3-english mailing list