I call my site this way locally:
http://localhost:80/mysite/de/layer1/layer2/module
In .htaccess I have:
RewriteEngine on
RewriteRule !^((css|js|images)/.*)$ index.php%{REQUEST_URI} [L, NE]
I try to rewrite that into:
http://localhost:80/mysite/index.php/de/layer1/layer2/module
Any idea what's wrong there?
EDIT: If I write only this, then there is no error:
RewriteRule !^((css|js|images)/.*)$ index.php
But I think I need this %{REQUEST_URI} thing!!
My configuration: Mac OS X 10.6 Snow Leopard, MAMP with Apache, MySQL and PHP 5. In detail:
Apache 2.0.63
MySQL 5.1.37
PHP 4.4.9 & 5.2.10
APC 3.0.19 & APC 3.1.2
eAccelerator 0.9.5.3
XCache 1.2.2
phpMyAdmin 2.11.9.5 & phpMyAdmin 3.2.0.1
Zend Optimizer 3.3.3
SQLiteManager 1.2.0
Freetype 2.3.9
t1lib 5.1.2
curl 7.19.5
jpeg 7
libpng-1.2.38
gd 2.0.34
libxml 2.7.3
libxslt 1.1.24
gettext 0.17
libidn 1.15
iconv 1.13
mcrypt 2.5.8
YAZ 3.0.47 & PHP/YAZ 1.0.14