<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]
    # don't rewrite anything that starts with auth
    RewriteRule ^auth - [L,NC]
    # Handle Front Controller...
    #RewriteRule ^(.*)(images.*)$ /guestid/public/assets/html/$2 [L,NC]
    #RewriteRule ^(.*)(js.*)$ /guestid/public/assets/html/$2 [L,NC]
    #RewriteRule ^(.*)(style.*)$ /guestid/public/assets/html/$2 [L,NC]
    #RewriteRule ^(.*)(fonts.*)$ /guestid/public/assets/html/$2 [L,NC]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>
AuthName Cornell
AuthType All
AuthBasicAuthoritative off
#
# Use the following to restrict access
#  (w/o comments) use spaces not commas
#  when multiple entries are needed
#
require valid-user
