Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #18 from jamesgpearce/master

Allow local schema files to be reached
  • Loading branch information...
commit b9b613626b8ca323970fdb8bdb5c93fbbbdae941 2 parents 14f29b7 + e85c9fe
@ptarjan ptarjan 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

0 comments on commit b9b6136

Please sign in to comment.
Something went wrong with that request. Please try again.