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.
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.
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.
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.
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.
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
is working on a reply...