From: Joby W. <joby@u.washington.edu> - 2002-10-28 17:07:12
|
In Part 6 (URL Options) of index.php you can hard code the server name (SERVER_NAME), and url relative to the server root (SCRIPT_NAME). This should solve your problem. jbw Peter Holm wrote: > Hi, > > I just installed phpwiki on a local machine for testing, the vhost > this wiki runs on is configured to servername "phpwiki". > > When I access http://phpwiki everything seems to work correctly, BUT > the browser tries to access www.themes.com, because in the source a > link like this is produced: > > <img src="\/themes/default/images/logo.png" > > Is there something wrong with the link-generating code? > > Maybe anyone can give me a hint? > > > Thanks! > > Have a nice thread, > Peter > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |