monocasual/giada-www/master/.htaccess - Htaccess File

monocasual/giada-www/master/.htaccess

# ------------------------------------------------------------------------------
# Clickjacking protection: nobody can put the site inside an iframe.
# ------------------------------------------------------------------------------
Header set X-Frame-Options DENY

# ------------------------------------------------------------------------------
# enable rewrite engine with RewriteBase.
# ------------------------------------------------------------------------------
RewriteEngine on
RewriteBase /

# ------------------------------------------------------------------------------
# pages that don't exist anymore
# ------------------------------------------------------------------------------
RewriteRule ^documentation-(.+)/?$ documentation [R=301,NC,L]
RewriteRule ^screenshot-[0-9]+/?$  screenshots   [R=301,NC,L]

# ------------------------------------------------------------------------------
# phalcon main redirect (only if != 'admin)
# ------------------------------------------------------------------------------
RewriteCond %{REQUEST_URI} !^/admin  [NC]
RewriteRule  (.*) public/$1          [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache