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:   local links are not relative
Date:   2004-03-08 06:30:18
From:   alananonymous
Thanks for the good instructions. First problem I have is that internal links are using absolute URLs (e.g.: "http://myMac.local/~myUserName/phpwiki-1.3.7/index.php/PhpWikiDocumentation" when it should really just be "PHPWikiDocumentation"). Of course, "myMac.local" doesn't show up in any DNS entries, so links break when browsing the wiki from another computer.
Sadly, I'm a bit too tech-illiterate to interpret the config files' in-line documentation.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • local links are not relative
    2004-08-03 14:48:04  rikahlberg [Reply | View]

    You can fix this.

    Open httpd.conf with a text editor and locate the ServerName entry. Put your IP address or fully qualified domain name in as servername:

    ServerName 192.168.0.254

    Restart apache and you should be all set.