Create a gist now

Instantly share code, notes, and snippets.

anonymous /httpd.conf
Created Nov 6, 2012

What would you like to do?
PJAX Apache rewrite
RewriteEngine On
RewriteCond %{HTTP:X-PJAX} true
RewriteRule blog/(.*)/ content/$1.html
RewriteCond %{HTTP:X-PJAX} true
RewriteRule ^$ content/index.html
RewriteCond %{HTTP:X-PJAX} true
RewriteRule about-kyle-rush about-kyle-rush-content.html
RewriteCond %{HTTP:X-PJAX} true
RewriteRule contact contact-content.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment