On 5 Oct 2006 at 17:30, Also Sprach Jörg Walter: > You can use multiple location blocks, the first match is used: > > <Location \.(gif|css|jpg|png)$> > ... whatever "normal files" should get > </Location> > > <Location /your_app/> > ... your webapp code ... > </Location>
Ok, I've got the latest code. the physical directory is /tmp/AxKit2-1.1/emap/webroot The location (as shown below) is /fred. (Conf file at the end) The css is still hitting my xml_response hook. The href to the css in the html does _not_ have any path associated with it. ie it's just "login.css". Any thoughts? # Copyright 2001-2006 The Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Plugin logging/warn LogLevel LOGDEBUG Plugin request_log RequestLog access_log Plugin error_xml ErrorStylesheet demo/error.xsl StackTrace On Plugin fast_mime_map Plugin parse_post_data <Server> Port 8000 Plugin uri_to_file Plugin serve_file DirectoryIndex index.xml <Location \.(gif|css|jpg|png)$> #DocumentRoot emap/webroot </Location> <Location /fred> Plugin cachecache CacheModule Memory # ten megabytes (ish) CacheSize 10000000 CacheNamespace emap CacheExpiresIn 300 DocumentRoot emap/webroot PluginDir emap/plugins Plugin emap.pm ShowParams 1 </Location> </Server> John --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]