I am wondering if I can use space in the Pattern Files say>>> "Curious George" or do I need the insert + between the words so it will read "Curious+George" it a user agent I am trying to restrict access to my site thanks If there is a good place for tutorials
please let me know
You can use pattern contains space for evaluation. However, to make it work properly, you need to ensure the input is not escaped so that it could be correctly evaluated. If what you need is to use the pattern to evaluate user agent information, based on
my experience, the pattern with spaces should work you in this case. If it does not work, you can use failed request tracing to track down detailed evaluation process:
emalahi
4 Posts
Can I use space between words
May 04, 2012 10:58 PM|LINK
StormInterne...
213 Posts
Re: Can I use space between words
May 05, 2012 04:06 PM|LINK
Hi,
Restrictions on site can be added in the form of IPs.
Are you trying to restrict words ?
StormInterne...
213 Posts
Re: Can I use space between words
May 05, 2012 04:07 PM|LINK
BTW do you have any control panel to manage your web site ? Or you have a VPS/dedicated server for your web site ?
emalahi
4 Posts
Re: Can I use space between words
May 06, 2012 04:02 AM|LINK
Lloydz
2335 Posts
Microsoft
Re: Can I use space between words
May 08, 2012 07:07 AM|LINK
You can use pattern contains space for evaluation. However, to make it work properly, you need to ensure the input is not escaped so that it could be correctly evaluated. If what you need is to use the pattern to evaluate user agent information, based on my experience, the pattern with spaces should work you in this case. If it does not work, you can use failed request tracing to track down detailed evaluation process:
using-failed-request-tracing-to-trace-rewrite-rules
http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/
Hope this helps, thanks.