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

DirectoryIndex sps.php

RewriteRule .* sps.php/$0 [PT,L]
RewriteRule  ^/?ajax/(.*)$	ajax.php?$1 [NC,QSA,L]
