Copied to clipboard

Flag this post as spam?

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


  • Ronald Creutz 2 posts 22 karma points
    Jan 19, 2010 @ 14:17
    Ronald Creutz
    0

    Urls, 404, iis6.0

    hello,

    i have the following problem.

    I used a content picker datatype to add a link. the following code uses in my template and rendered html in browser:

    <a href="<umbraco:Item field='WebsiteUrl' recursive='true' runat='server'></umbraco:Item>/<umbraco:Item field='LinkSpracheDeutsch' recursive='true' runat='server'></umbraco:Item>"><img class="imgLanguage" alt="change language to german" src="/Media/ABHintergrund/flagge_d.gif" /></a>

            <a href="http://localhost:1650/1187"><img class="imgLanguage" alt="change language to german" src="/Media/ABHintergrund/flagge_d.gif" /></a>

    ... When I try to connect to this url http://localhost:1650/1187 I become a 404 error. my system is a win2003 server with iis6.0, sql2008, umbraco 4.0.3

    The same code runs on my workstation correctly! But there I work with a integration database and casini webserver. also i´ve installed the cws starterkit, but I don´t use it.

    Have anyone a idea? Thanks a lot.

  • Harald Ulriksen 207 posts 249 karma points
    Jan 20, 2010 @ 08:56
    Harald Ulriksen
    0

    Hi there,

    on your server, is the website configured to answer on port 1650? Normally http uses port 80 and if you are running multiple sites on one server it is most likely not configured to answer on localhost but on a fully qualified domain name.

    /harald.

  • Ronald Creutz 2 posts 22 karma points
    Jan 21, 2010 @ 15:29
    Ronald Creutz
    0

    Thanks a lot.

    No it wasn´t a setting on the iis. The problem is that the cassini webserver know what I want when the url is something like that:

    http://localhost/1139

    But the iis known that as a virtual directory. I think you can do something like redirect or you must add ".aspx" to generated knote. So I is my solution for this problem. Than the url is http://localhost/1139.aspx and that is valid url for the iis.

    Ronald

Please Sign in or register to post replies

Write your reply to:

Draft