<IfModule mod_php5.c>
  php_value upload_max_filesize 100M
   php_value post_max_size 100M
</IfModule>


#php_flag display_startup_errors off
#php_flag display_errors off
#php_flag html_errors off
#php_value docref_root 0
#php_value docref_ext 0


RewriteEngine on

RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^(.*)$ $1\.php



#ErrorDocument 404 http://localhost/school/error
#ErrorDocument 403 http://localhost/school/error
#ErrorDocument 400 http://localhost/school/error
#ErrorDocument 401 http://localhost/school/error
