[Typo3] Press2web and Real URL .htaccess config

Robert John de Stigter robertjohn at bedrijvenweb.nl
Fri Oct 14 17:05:21 CEST 2005


I have a problem with some code in a .htaccess file
 
In this case the press2web module doesn't work properly:
 
RewriteEngine On
RewriteRule ^press2web/?(.*)$
/typo3conf/ext/p2wlib/pi1/press2web/html/$1 [QSA]
RewriteRule ^trek/?(.*)$
/typo3conf/ext/p2wlib/pi1/press2web/html/trek.php$1 [QSA]
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
 
As soon as I delete the last 4 lines (necassary for Real URL) the
extension works good.
 
RewriteEngine On
RewriteRule ^press2web/?(.*)$
/typo3conf/ext/p2wlib/pi1/press2web/html/$1 [QSA]
RewriteRule ^trek/?(.*)$
/typo3conf/ext/p2wlib/pi1/press2web/html/trek.php$1 [QSA]
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
 
How do I solve this? It doesn't make any differece placing the press2web
rules at the end of the file. 
 
Regards,
Robert
 
 



More information about the TYPO3-english mailing list