Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

App_Browsers .browser definition files not working on AppHarbor

My .browser definition files seem to be working fine in development, but not in production.

Currently, I have one file under App_Browsers, called Crawler.browser, which detects a handful of the popular search bots. I can see this file is being deployed, but it's not having any effect when the site is in production.

I understand I could manually sniff the user agent strings as a workaround, but I'd much rather figure out the root cause of this.

  1. Hi Lee,

    I can confirm that the file is being deployed as you say. Have you tried running your site inside your local IIS to verify it works as expected? It may be easier to debug that way.

    Best,
    Rune

  2. rune closed this discussion on 10 Jul, 2011 05:09 PM.

  3. leedumond re-opened this discussion on 13 Jul, 2011 05:25 PM

  4. I appreciate you confirming that the file is being deployed. Upon further investigation, the problem I'm seeing is definitely related to the way I'm caching the page output. Thanks for the help/

  5. friism closed this discussion on 13 Jul, 2011 07:05 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac