burnflare/CrowdBuy/master/.htaccess - Htaccess File

burnflare/CrowdBuy/master/.htaccess

RewriteEngine on

#Specifically, handle Open Graph requests for listing specially
RewriteCond %{HTTP_USER_AGENT} ^facebookexternalhit/(.+)$
RewriteCond %{REQUEST_URI} !=^service/.*$
RewriteRule listings/(.*)$ /service/listings/og/$1 [P,L]

#In general, for all URLs which do not match a file or directory
RewriteCond %{DOCUMENT_ROOT}/$1 !-f
RewriteCond %{DOCUMENT_ROOT}/$1 !-d
RewriteRule (.*) /index.html#$1 [NE,R]

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, HTTP_USER_AGENT, REQUEST_URI

Comments

Apache