Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow local schema files to be reached

e.g. t/l and ref files in the ns directory
  • Loading branch information...
commit e85c9feb00f331114b45d116ef9ff7d0a5fa07e4 1 parent 14f29b7
@jamesgpearce jamesgpearce authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 ns/.htaccess
View
4 ns/.htaccess
@@ -13,7 +13,9 @@ RewriteRule fb/? http://graph.facebook.com/schema/og/ [L]
# http://ogp.me/ns/music
# http://ogp.me/ns/book
# The NS means it won't be used for subrequests
+# The condition allows the local schema files to be reached
+RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)$ http://graph.facebook.com/schema/og/$1 [L,NS]
# The root OG Namespace is handled by index.php
-# http://ogp/me/nsa
+# http://ogp.me/ns
Please sign in to comment.
Something went wrong with that request. Please try again.