Re: generic problem...
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Well, that's all the options I can think of. If I were you, (and this is what I do), I'd use absolute urls. It makes the code more portable from system to system and fixing broken absolute urls is easier than finding and fixing broken relative urls. Anyhow, I'm not sure how else you could solve your problem. /will On Mon, 1 Mar 2004, gabor wrote: > > it would, but then ..welll.. we arrived to my actual problem. > > i did what you said, i had my non-blog pages php-include head/foot.html. > > the problem is the following: > > 1. i like to use relative urls > 2. my head/foot.html are in $HOME/public_html/blog > 3. now imagine a file, let's call it about_me.html living in > $HOME/public_html, > which includes $HOME/public_html/blog/head.z10n. > 4. in that file, there is a link to about_me.html. but in that file, > it's <a href="../about_me.html"> because it's in the directory about it. > 5. but when it gets included from about_me.html, then the link will > point to the directory above $HOME/public_html. > > that's the problem :) > > it can be solved with usinga absolute links, but i'd prefer not to use > them. > > gabor > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > pyblosxom-users mailing list > pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/pyblosxom-users > -- whatever it is, you can find it at http://www.bluesock.org/~willg/ except Will--you can only see him in real life. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click