Assuming that you are using the default server and you have already set the PHP FastCGI handler:
- Go to Virtual Servers.
- Select your server.
- Click on "Behavior" tab
- Edit the "Default" rule.
- Change its "Handler" to "Redirection"
- The interface would change. Now fill the fields:
- Type: Internal = server side, External = client side
- Regular expression: ^(.*)$
- Substitution: /index.php?q=$1
- All your other URL rewrites should be added there.
That should work for your rule.
Notes: Behavior rules orders matters so.. place your PHP handler on top and set it to be non-final.
For static content like CSS or images you should create new rules ( type: directory, handler: static content ).
I hope this helps you.
Bye!
p.d: If you need them, I can make some screens.