RewriteEngine on

#RewriteCond $1 !^(index\.php|assets|css|js|include|lang|charts|ajax|payment|template|img|robots\.txt|favicon\.ico)

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

#RewriteRule ^operator/(.*)$ index.php?p=$1 [L]
#RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
RewriteRule . index.php [L]
#RewriteRule ^(.*)$ /index.php/$1 [L]

ErrorDocument 404 /404/