I'm trying to map files with a given extension to different servlets when they're served from different directories. For instance, http://www.example.com/foo.xml should be mapped to /servlets/Foo and http://www.example.com/admin/bar.xml should be mapped to /admin/servlets/Bar /servlets and /admin/servlets mount two different zones, but that's really irrelevant for this example. My guess on how to achieve this would be something like this in the httpd.conf: <VirtualHost www.example.com> ApJServMount /servlets /example_zone ApJServMount /admin/servlets /example_admin_zone ApJServAction .xml /servlets/Foo <Location /admin> ApJServAction .xml /admin/servlets/Bar </Location> </VirtualHost> but when i try this, apache fails at startup, telling me that ApJServAction is forbidden from occuring within a Location tag. I get a similar error when I try using a Directory tag with the filesystem path. I suppose this could be a job for mod_rewrite, but I haven't had to mess with it yet and I'd rather not add the overhead if it's not necessary. Is this configuration possible with just Apache-JServ 1.0x? It _was_ possible with 0.9.x (using AddHandler and Action) but that trick doesn't appear to work anymore. Thanks in advance for any suggestions. - donald -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] READ THE FAQ!!!! <http://java.apache.org/faq/> Archives and Other: <http://java.apache.org/main/mail.html/> Problems?: [EMAIL PROTECTED]
