Jon Stuebe

lemonstand & font-face

htaccess lemonstand

lemonstand & font-face

Posted by Jon Stuebe on .
Featured

htaccess lemonstand

lemonstand & font-face

Posted by Jon Stuebe on .

Just ran into a weird bug with lemonstand where it was giving me a 404 error when using any @font-face fonts. Did a quick lookup and found out that they allow files conditionally in the htaccess file:

Before:

RewriteCond %{REQUEST_URI} !(\.(mov|ico|js|jpg|gif|css|png|swf|txt|xml|xls)$)

After:

RewriteCond %{REQUEST_URI} !(\.(mov|ico|js|jpg|gif|css|png|swf|txt|xml|xls|eot|woff|ttf|svg|svgz)$)
user

Jon Stuebe