RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?do=/$1
location / {
if (!-e $request_filename){
rewrite ^/(.*) /index.php?do=/$1;
}
}
if (!-e $request_filename){
rewrite ^/(.*) /index.php?do=/$1;
}