apache
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
DirectoryIndex index.php
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>
nginx
location / {
rewrite c(\d+)_(.*).html /index.php?c=user&m=index&id=$1&title=$2 last;
root /usr/share/nginx/html/sta;
index index.html index.htm index.php;
}