 ErrorDocument  404  http://localhost/bims/teacher/404.html
RewriteEngine On 
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^([^\0-9]+)$ $1.php [NC,L]
#RewriteRule ^profile/([^/]*)/([^/]*)\.html$ profile.php?id=$1&user=$2 [L]