[TYPO3-english] regexp for url_rewrite

Daniel Bruessler danielb at typo3.org
Wed May 13 22:52:25 CEST 2009


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