I know sometimes safari add spaces to the cookie value.
Try something like "^(.*)?logged_out= *1(.*)?$
I don't remember the syntax for space matching.
HTH,
Kfir
-Original Message-
From: Michele Waldman [mailto:[email protected]]
Sent: Friday, April 03, 2009 10:09 PM
To: modules-dev@
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
(), it inserts the code at the top of the page instead. However I have
troubles
Just try this...
After your filter functionality , remove the filter from the chain...
On Sun, Apr 5, 2009 at 2:48 PM, Alexander Hjalmarsson 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 page, an
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 Messa
On 04/05/2009 11:18 AM, Alexander Hjalmarsson wrote:
The problem with this seems to be that this function is for some pages
called three of four times and it looks like it is "forked" or something and
splits up the content and separates them and goes through the function three
or four times and b
I don't see any spaces in the header. I listed them below. They look just
like the ones from IE and FF. I'm willing to try anything though.
I know sometimes for spaces you use \s, the think. I'll look it up to be
sure.
That's what's so troubling. It looks the same and works with ie and ff, b
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 enviro
On Sun, Apr 5, 2009 at 1:33 PM, Michele Waldman wrote:
> The server can't set the server environment without the headers I don't
> believe. So, the header must be set. As suggested, I'll try spaces but I
> don't see them in the header. Is php stripping out spaces in phpinfo()?
>
> Does phpinfo(
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: