I have tried this:
------------------------------------------------------
location / {
rewrite ^(.*)$ /index.php?q=$1 break;
}
------------------------------------------------------
And this:
-------------------------------------------------------
if ($request_filename !~ "index.php$"){
set $rule_0 1$rule_0;
}
if ($rule_0 = "1"){
rewrite ^/(.*)$ /index.php?q=$1 last;
}
--------------------------------------------------------
Not working, code 500, Internal Server Error.
Any comments?
------------------------------------------------------
location / {
rewrite ^(.*)$ /index.php?q=$1 break;
}
------------------------------------------------------
And this:
-------------------------------------------------------
if ($request_filename !~ "index.php$"){
set $rule_0 1$rule_0;
}
if ($rule_0 = "1"){
rewrite ^/(.*)$ /index.php?q=$1 last;
}
--------------------------------------------------------
Not working, code 500, Internal Server Error.
Any comments?