I've done some more experimenting and it seems it was not to do with the routing at all as I made another .vcf file and pasted some text in and that worked.
It seems there was something about the file content that my system did not like. The file I had issues with was downloaded from http://vcardmaker.com/. Goodness knows what the issue was. Thanks for your help. On Fri, Nov 6, 2015 at 7:45 PM, Anthony <abasta...@gmail.com> wrote: > On Friday, November 6, 2015 at 2:28:42 PM UTC-5, tim spear wrote: >> >> I tried it and it worked fine with the local server on my laptop. Maybe >> it's something to do with my Apache setup then I guess? Dunno. >> > > Do you have Apache configured to serve static files, or does web2py serve > them? I think vcf is one of the default supported MIME types, but you might > want to check the mime.types file. > > Anthony > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/4FUQT-8Lu1U/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.