On Sat, Sep 15, 2001 at 05:35:31PM -0700, dss wrote: >> Maby you are missing a module. Is mod_mime needed? >> You should at least use mod_dir... > I have both mod_mime and mod_dir. I tried using > DIR_MAGIC_TYPE on a simple script and still no go. I > must either be missing something in apache or just > plain missing something :)
Allow me to cut'n'paste from the original post. [...] > www.domain.com/client/zzx/ga > or > www.domain.com/client/zzx/ga/ > > then the following url will be used to call a > template: > > www.domain.com/client/zzx/ga/index.html > > (this template would corresond to > /home/client/templates/zzx/ga/index.html) [...] I don't know how your webserver is configured with docroots and so, but it seems to me that it doesn't know that /client/zzx/ga is supposed to be a directory. I'm pretty sure that's why it doesn't set DIR_MAGIC_TYPE for you. Completely guessing here - but are you by any chance mapping all requests to /client/ and beyond to your handler, and then using this handler to find the templates from /home/client/templates/ ? Anyway - I think an Alias should be able to help Apache find the directory. Alias /client /home/client/templates Although I'm not sure how this will affect the handler, or how the handler affects the alias. -- Trond Michelsen
