Trouble with filter-module, function called multiple times

2009-04-05 Thread Alexander Hjalmarsson
Hi I have a problem in a filter module I've created. The module works as following: It searches for the first body-tag of the page, and if it is found, it inserts a piece of code there. If there is no body tag found (body), it inserts the code at the top of the page instead. However I have

Re: Trouble with filter-module, function called multiple times

2009-04-05 Thread Ashish Khare
Just try this... After your filter functionality , remove the filter from the chain... On Sun, Apr 5, 2009 at 2:48 PM, Alexander Hjalmarsson hja...@sgh.se wrote: Hi I have a problem in a filter module I've created. The module works as following: It searches for the first body-tag of the

RE: Trouble with filter-module, function called multiple times

2009-04-05 Thread Alexander Hjalmarsson
Thank you for your answer! I actually solved it now with usage of the ctx-thing and it was really perfect. However I do wonder if there is any API documentation for module developing? I haven't found anything that's really useful, such as the java API or something.. Thanks :) -Original

RE: Safari - Why?

2009-04-05 Thread Michele Waldman
One thing I did also try was stuff like: RewriteEngine On RewriteCond ${HTTP_USER_AGENT} safari [NC] RewriteCond ${HTTP_???} !realm=account [NC] RewriteRule ^(.*)$ forbidden.html ??? typing this off the head can't remember the variable. This seemed to work. For some reason the server

RE: Safari - Why?

2009-04-05 Thread Michele Waldman
This worked. I changed it to this: SetEnvIfNoCase Cookie logged_out=0 logged_out_env Order Allow,Deny Allow from env=logged_out_env Instead of: SetEnvIfNoCase Cookie logged_out=1 logged_out_env Order Allow,Deny Deny from env=logged_out_env Thanks. Michele -Original Message- From: