Permalink
Browse files

Allow local schema files to be reached

e.g. t/l and ref files in the ns directory
1 parent 14f29b7 commit e85c9feb00f331114b45d116ef9ff7d0a5fa07e4 @jamesgpearce jamesgpearce committed Jun 19, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 ns/.htaccess
View
@@ -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

0 comments on commit e85c9fe

Please sign in to comment.