juliogc/learn/master/angularjs2/.htaccess - Htaccess File

juliogc/learn/master/angularjs2/.htaccess

# <IfModule mod_rewrite.c>
#     RewriteEngine On
#     RewriteBase /
#     RewriteCond %{REQUEST_FILENAME} !-f
#     RewriteCond %{REQUEST_FILENAME} !-d
#     RewriteRule ^(.*)index.html$1 
# </IfModule>

# <VirtualHost *:80>
#     DocumentRoot "path/to/project/root/"
#     ServerName project.com
#     ServerAlias qa.project.com
#     ServerAlias prod.project.com
# 
#     RewriteEngine on
#     RewriteRule     /ws/(.*)$  http://path.to.service.com:8244/proxy/$1 [P,L]
#     RewriteCond %{REQUEST_URI}  ^(/[a-zA-Z0-9-]*)*$
#     RewriteRule /(.*)$ /index.html [L]
# </VirtualHost>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache