[Coldstuff] Web pages
Bruce Mitchener
bruce@cubik.org
Fri, 04 Jan 2002 00:35:15 -0700
K Anderson wrote:
> I was looking through an old Cold FAQ that said start.html should be
> located in root/html so I went to $motd.build_html() and added a link
> that would show up when I went to the startup page via the web and
> basically said <a href="start.html">Start</a>.
>
> The link shows up, but when I click it, web browser says nope, can't
> find it. So I moved it to different sections of root to include
> root/html and still no luck.
>
> Any ideas? I would like to be able to serve up web pages under
> Cold in conjunction to other stuff.
I'm probably missing some steps here, but:
* In your root directory:
* mkdir html
* mkdir html/foo
* On your Cold:
* ;$directories.add_entry("foo", $page_file_index);
* Put the start.html file in root/html/foo
* Try to load http://your.server:1180/foo/start.html
See if that works?
- Bruce