Re: Feature request

Wari Wahab <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Francois Granger wrote:

> It would be nice to have a $root_url variable loaded with the root url 
> of the site as per Apache. In setup like mine (default setups) the 
> root url would be
> http://fgranger.net1.nerim.net:8000 which goes to 
> /Library/WebServer/Documents 

No, the browser does not know this (and the browser should not know this).

> The relative location of a link like <img src="img/flag.gif"> is
> http://fgranger.net1.nerim.net:8000/cgi-bin/img/flag.gif
> and this is not the right place to put docs or images. 

Your relative like should look like <img src="/img/flag.gif"> instead.. 
Note the leading '/' in the path.

This is a browser issue, not pyblosxom (or any cgi programs for that 
matter), hope you know what I mean.




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.