Tak ja tomu nerozumiem. Dal som to dnes do povodneho stavu, teda odobral z hlavicky base, na css aj favicon som dal relativne adresy, ako boli doteraz, htaccess som nechal, ako bol vcera a dnes som spustil stranku vo vsetkych prehliadacoch a ide normalne, natiahne styly aj obrazky.
//autoeditácia príspevku (30 Mar 2010, 10:29)
A predsa som nieco zmenil. To prepisanie je teraz na uvod.html namiesto uvod/, cize asi kvoli tomu
//autoeditácia príspevku (30 Mar 2010, 12:34)
Problem pretrvava v pripade, ked prepisujem URL na tvar domena.sk/priecinok/subor.html, cize vzdy ked sa posuniem o level nizsie v priecinkovej strukture, ktora je vlastne vymyslena. Ak by som vsetko daval na domena.sk/subor.html, ide vsetko bez problemov.
//autoeditácia príspevku (30 Mar 2010, 12:43)
Tak som tomu nasiel hacik. Odpoved som nasiel tu:
http://bytes.com/topic/asp-net/answers/ ... file-paths
One gotcha that people sometime run into when using Url Rewriting for the
very first time is that they find that their image and CSS stylesheet
references sometimes seem to stop working. This is because they have
relative references to these files within their HTML pages - and when you
start to re-write URLs within an application you need to be aware that the
browser will often be requesting files in different logical hierarchy
levels than what is really stored on the server.
For example, if our /products.aspx page above had a relative reference to
"logo.jpg" in the .aspx page, but was requested via the
/products/books.aspx url, then the browser will send a request for
/products/logo.jpg instead of /logo.jpg when it renders the page. To
reference this file correctly, make sure you root qualify CSS and Image
references ("/style.css" instead of "style.css").