<IfModule mod_dir.c>
    RewriteOptions Inherit
    DirectoryIndex index.php index.shtml index.html
    Options -MultiViews
</IfModule>
<IfModule mod_rewrite.c>
	RewriteCond %{HTTP_HOST} ^stonybrook.edu [NC]
	RewriteRule ^ https://www.stonybrook.edu%{REQUEST_URI} [L,R=301]
</IfModule>
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^\.]*){1}(\.[A-Za-z0-9]+)*$ $1.php [L]
</IfModule>
