[albatross-users] Problem with al-httpd and the httpd module

Matt Goodall matt at pollenation.net
Fri Jul 11 09:02:23 EST 2003


On Thu, 2003-07-10 at 23:26, Osvaldo Santana Neto wrote:
> On Mon, Jul 07, 2003 at 09:41:04AM +0100, Matt Goodall wrote:
> > Andrew McNamara wrote:
> > 
> > >>As soon as I start using the standalone http server for something useful
> > >>I come across a problem :-(. There is currently no way to serve static
> > >>resources, i.e. images, as the server assumes that *everything* will be
> > >>a request for a page.
> > >>   
> > >>
> > >
> > >The obvious solution is to add support for serving static content (files)
> > >from a specified directory.
> > >
> > Yes, that would work for me as I tend to store all images, stylesheets, 
> > etc under a single root directory called assets. I'll see what I can 
> > cope up with for the httpdapp module and al-httpd script.
> > 
> > Thanks, Matt
> 
> I've the same problem. How did you resolved this problem?

Sorry, but I haven't had the chance to do anything with it yet. 

Dave Cole has since added some code that could also help. See his post,
http://www.object-craft.com.au/pipermail/albatross-users/2003-July/000682.html. I was wondering about using this to provide a "page" to serve the static content. The get_page_from_url() is not in 1.10pre2 but I guess it will not be too long before another release.

- Matt

-- 
Matt Goodall, Pollenation Internet Ltd
w: http://www.pollenation.net
e: matt at pollenation.net



More information about the Albatross-users mailing list