Created
November 13, 2012 21:29
-
-
Save jcleveley-zz/4068519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tabloid/webapp/static/conf/tabloid.sandbox | |
| # Stop phantomjs blowing up by 403ing on ttf fonts | |
| RewriteEngine on | |
| RewriteCond %{HTTP_USER_AGENT} cucumber [NC] | |
| RewriteRule ^.*\.ttf$ - [F,L] | |
| ➜ workspace git:(desktop-weather) ✗ curl -I http://static.sandbox.dev.bbc.co.uk/news/dev/fonts/gel-news-icons-v3/gelnewsicons-regular-webfont.ttf | |
| HTTP/1.1 200 OK | |
| Date: Tue, 13 Nov 2012 21:28:08 GMT | |
| Server: Apache | |
| ➜ workspace git:(desktop-weather) ✗ curl -I http://static.sandbox.dev.bbc.co.uk/news/dev/fonts/gel-news-icons-v3/gelnewsicons-regular-webfont.ttf -H "User-Agent: cucumber" | |
| HTTP/1.1 403 Forbidden | |
| Date: Tue, 13 Nov 2012 21:28:26 GMT | |
| Server: Apache | |
| Content-Type: text/html; charset=iso-8859-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment