Hi DarkPepe,
in your Apache rewrite rules something is missing, because nothing is trailing the index.php, there it just says RewriteRule . /index.php [L] but where is the request going? To which variable do we have to pass the requested URL?
The code here will work for you, but be sure to find out to which variable you have to pass your requested URL or point me to a description page of the FURL thing and I'll have a look at it.
[code]
server {
[...]
# static files won't go through all rewrite rules
if (-f $request_filename) {
break;
}
# the (!-e) rule is similar to the !-f and !-d rule-set from apache
location / {
if (!-e $request_filename) {
# rewrite ^(.*)$ /index.php!!!! HERE MUST BE SOMETHING !!!!$1 last;
# example (this works for Drupal
rewrite ^/(.*)$ /index.php?q=$1 last;
break;
}
}
[...]
}
[/code]
--------------------------------------------------------------------------------
//richard.fussenegger.info
//movlib.org
Edited 1 time(s). Last edit at 09/05/2009 04:28AM by Fleshgrinder.