What is this used for in the .HTAccess file?

I have the bits below in the .HTAccess file, but I don’t know what the ^ means - can anyone please let me know.

RewriteCond %{HTTP_USER_AGENT} ^HMView [NC,OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [NC,OR]

it means “starts with”

1 Like

Thanks megazoid, why is there none in front of HTTrack?

It can appear anywhere - not necessarily at the start of the string.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.