Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • WW 1 post 21 karma points
    Jan 28, 2010 @ 13:39
    WW
    0

    Servername (NETBios) in source website

    My personal website runs on our webfarm (5 webservers, 1 filecluster).

    For troubleshooting-purposes (and because i think it is cool to do so) i would like to echo the NETbios name of the serving webserver in the footer of my website. I haven't found a way to output the NETBios servername.

    I did find ="umbraco.library:RequestServerVariables('SERVER_NAME')", but it only generates the URL the visitor typed. None of the options in umbraco.library seems to echo the netbios-servername.

    Does anybody have an idea how to get the netbios-name echo't in the template?

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Jan 28, 2010 @ 14:06
    Sebastiaan Janssen
    0

    You would have to write an XSLT extension for this I suppose. It's pretty simple, just create a public class with a public function that returns whatever you need, copy the DLL into the bin folder and adjust your config/xsltExtensions.config

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies