Bug: Invalid links to localhost in sidebar
—
!!1!
!
I just installed Soks on a Solaris system.
!
!2!
!
—
!!3!
!
As per the administration page,
I modifed start.rb to
point to my server:
!
!4!
!
—
!!5!
!
!
!6!
!
server
= WEBrick:
:HTTPServer.new(
:Port
=>
8000
)
view
= View.new(
wiki,
“
http://pubhost:8000”,
“
#{root_directory}
/views”
)
^ —
!!7!
!
!
!8!
!
—
!!9!
!
But when viewing pages,
the top four sidebar links
(
home page,
site index,
known bugs, and recent changes)
go to localhost
addresses,
instead of to pubhost.
So they fail when viewed
externally.
!
!10!
!
—
!!11!
!
The other links correctly go to pubhost addresses,
and they work
when viewed externally.
!
!12!
!
—
!!13!
!
Additional Note:
When I edited the
sidebar page, it showed normal links;
for example:
[
[
Home Page ]
]
So whatever is going on is
happening in the link generation process.
!
!14!
!