We've expanded our news coverage and improved our search! Visit news.oreilly.com for the latest or search for all things across O'Reilly!
advertisement

Article:
  Installing a Wiki on Your iBook
Subject:   re: No graphics on external network
Date:   2003-07-05 19:55:41
From:   anonymous2
Response to: No graphics on external network

This probably has to do with hostname settings. I haven't set up wiki yet but I've seen this often with other web apps (like gallery, gallery.sf.net.) Somewhere in a wiki configuration file is a place to specify the hostname that is probably used as part of absolute URLs--the page will say 'img src="http://whatever.hostname/phpwiki/logo.gif"' or something like that. You can set it up so it works as localhost, for example, but when you access it via an IP address or domain name from another box, it'll fail--for example, if you tell it the host name is 127.0.0.1, other boxes will not see that. Or if you tell it mywiki.yourdomain.com, then when you access it over your LAN at 10.0.0.2, it'll also fail. Hint: load the page up on a machine where the graphics fail, then view the source of that page. I bet you'll see images referenced by absolute URLs.