I am a web designer and my laptop has limited space so I do not have the luxury of having multiple duplicates of bootstrap sitting in my laptop. Since I do not have Internet access if I'm working outside, I simply can't use CDN access like http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css in my source codes.
So to get around this, since I have Apache/PHP installed (using a Mac - Yosemite), I set up a virtual host to host some common libraries like jquery and bootstrap which I downloaded from their respective websites. The source code would look something like this:
<link href="http://cdn.dev/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" /> <script src="http://cdn.dev/bootstrap/3.3.1/css/bootstrap.min.js"></script>
While the jquerys and the bootstrap.min.js load fine, the glyphicons are not showing up correctly, but instead little square boxes. Is there something missing or I simply cannot use this method at all?
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://cdn.dev/bootstrap/3.3.1/fonts/glyphicons-halflings-regular.woff. This can be fixed by moving the resource to the same domain or enabling CORS.
So I guess this could be the problem? - ddz1507