jam Posted October 14, 2005 Report Share Posted October 14, 2005 Ir tā. Taisot lapu, man ir hosts failaa un lokalajaa apachaa nodefinets hosts www.trintrava.lv. Tipa ērtāk. ir htaccess ar mod_rewrite. Lai ieliktu imagu vai flashu, vai css rakstu <param name="movie" value="/img/flashss.swf" /> Ja bez / pirms img, tad, protams, neiet, ja vien nav pirmaa lapa atverta. Probza ir tāda, ka ja visu kontentu pārnesu uz kādu klientam pieejamu hostu, tipa www.blahamuha.lv/trintrava/ , tad ne img, ne flash, ne css, protams, vairs neveras, jo tiek mekleets img folderis iekš www.blahamuha.lv/img/. Šo tač var kaut kā apiet ar .htacess palīdzību? Ir jau iespēja definēt tipa define('SAKNE', 'www.blahamuha.lv/trintrava/'); un tad šito izsaukt katram /img/ priekšā, bet varbūt ir kāds cits veids? Link to comment Share on other sites More sharing options...
Delfins Posted October 14, 2005 Report Share Posted October 14, 2005 basehref tags Link to comment Share on other sites More sharing options...
jam Posted October 14, 2005 Author Report Share Posted October 14, 2005 (edited) mlin, man jau likās, ka ubervienkārši. bet tomēr nestrādā Edited October 14, 2005 by jam Link to comment Share on other sites More sharing options...
jam Posted October 14, 2005 Author Report Share Posted October 14, 2005 Pardon strādā. Link to comment Share on other sites More sharing options...
Recommended Posts