Forum Moderators: goodroi
So the following are what is needed for your examples
Disallow: /dir
Disallow: /dir2/dir
Diaallow: /dir3/dir
Note that I didn't put a trailing slash.
Some web servers will actually server up the default page in that directory for a request of
GET /dir2/dir
and some of the less smart bots would not match this to the rule
Disallow: /dir2/dir/
So it is safer not to have the trailing slash.