nop.. that does not work either. It does not execute for a url like: /test/contact.html
The regex should execute for /test/contact.html but not for /partner/test/contact.html where test should be open for any word Any other suggestions? I am sure this is possible. Merlin -- arek Kilimajer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > try > RewriteRule ^!partner/([^/]*)/contact([\.]*).html$ profiles?modrew_fa=6 > > Merlin wrote: > > > Hi there, > > > > I am having trouble with a reg ex. > > > > What it should do is, terminate if the url is /*/contact.html > > but it should not terminate if it is /partner/*/contact.html > > where * stands for any value > > > > I tryed: > > RewriteRule ^!partner/(.*)/contact(.*).html$ profiles?modrew_fa=6 > > > > but obviously the partner thing does not work. > > > > Can anybody help me on that? > > > > Thanx in advance, > > > > Merlin > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php