Hi,

I would like to position the 'redirect' directive so: 
redirect %u
That is, to modify nothing 

why?

I filter the accesses to chat's sites In this way:
[-\?+=/_\.][0-9]*chat[0-9]*[-\?+=/_\.$]
[-\?+=/_\.][0-9]*irc[0-9]*[-\?+=/_\.$]

I would like to be able to leave accesses to certain sites filtered by the previous 
expression, as: 
http://www.hav.com/chat/ 

Here is an extract of my config :
rewrite rew_rien
{
         s@^h@h@
}

dest forums
{
         urllist forums/urls
         domainlist forums/domains
         expressionlist forums/expressions
}

dest yesforums
{
         urllist forums/urls
         domainlist forums/yesdomains
         rewrite rew_rien
#       redirect %u
}

acl
{
         pedagogie
         {
                 pass !yesforums !virus !forums !adult !warez all
                 redirect 
http://cache.univ-nancy2.fr/cgi-bin/EtudFiltre.pl?srcclass=%s&targ
etclass=%t&clientaddr=%a&url=%u
         }

  .......

         default
         {
                 pass !virus all
         }
} 

Here is the content of forums/yesdomains :
hav.com

in the des yesforum, if I write "redirect %u", a syntax error occurs.
So, So, I have tu create a rewrite rule (rew_rien) which made nothing 

Why the command "redirect %u" is it refused? If I write "redirect a%u", it works (but 
I don't want this, of course)!



-- 
Vincent MATHIEU                 
CRI - Universite NANCY 2            | Email : [EMAIL PROTECTED]
Pole Lorrain de Gestion             | Tel   : (33) 03.83.39.64.06
13, Rue Michel Ney - C.O. 75        | Fax   : (33) 03.83.39.64.43
54013 Nancy Cedex.   FRANCE

Reply via email to