WebFaction
Community site: login faq

I'm serving static via symlink_static_only and the mime-type for favicon.ico is octet/appstream rather then x-icon

is there a way to override this or get the correct setting? I could move it to trusty old apache and setup a .htaccess but was hoping there was a better way

Any advice?

$ curl -v http://www.stubvillage.com/ui/favico
n.ico
* About to connect() to www.stubvillage.com port 80 (#0)
* Connected to www.stubvillage.com (74.53.238.210) port 80 (#0)
> GET /ui/favicon.ico HTTP/1.1
> Host: www.stubvillage.com
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx
< Date: Thu, 15 Sep 2011 12:27:32 GMT
< Content-Type: application/octet-stream
< Connection: keep-alive
< Last-Modified: Wed, 07 Sep 2011 01:24:13 GMT
< Content-Length: 1150

asked 15 Sep '11, 07:44

aheld
312
accept rate: 0%


Hi,

Actually, Nginx is configured to serve .ico files as "image/x-icon". You don't seem to be serving favicon.ico through your static app though - it's served by your Apache backend server. I've copied the file to your symlink to static app, and you can test it at http://www.stubvillage.com/media/favicon.ico - you'll see that the correct MIME type is displayed.

I hope that helps!

permanent link

answered 15 Sep '11, 08:06

todork
1.2k5
accept rate: 34%

that did fix it.

I created a new static app server to point to my /ui directory. I'd thought that was setup already

thanks for the quick help

(15 Sep '11, 12:35) aheld
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×5
×3

question asked: 15 Sep '11, 07:44

question was seen: 5,901 times

last updated: 15 Sep '11, 12:35

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM