From: Jim Freeze Date: 2005-04-22T11:13:28+09:00 Subject: Re: Does Rublog support inline images or image links? * Chad Fowler [2005-04-22 03:30:11 +0900]: > On 4/21/05, Jim Freeze wrote: > > * Chad Fowler [2005-04-21 09:46:18 +0900]: > > Ahhhhh....unless you mount that directory with the webrick file > servlet, there is no way to directly access a file in the Rublog data > directory. Alternatively, you could also make the directory web > accessible. The way I run RubLog is that I have my data directory (in > a CVS repository) outside the normal document root of my web server, > and I serve images statically via Apache. > > So, you'll either need to do that, or if you're using Webrick, you > need to modify extras/rublog_servlet.rb in the RubLog distribution and > add something like the following: > > s.mount("/images", HTTPServlet::FileHandler, "/the/path/to/your/images/") Thanks. Now that I know what rublog is doing, that was easy. -- Jim Freeze Code Red. Code Ruby