leshek-pawlak/BtnMeetCalendar/master/.htaccess - Htaccess File

leshek-pawlak/BtnMeetCalendar/master/.htaccess

# Password
#IfServer AuthType Basic
#IfServer AuthName "Password Protected Area"
#IfServer AuthUserFile /var/www/stage/apps/current/.htpasswd
#IfServer Require valid-user

RewriteEngine On
# If an existing asset or directory is requested go to it as it is
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]

# If the requested resource doesn't exist, use index.html
RewriteRule ^ /index.html

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, REQUEST_URI

Comments

Apache