I have ssl installed on the server but i want to use it only for a particular directory for eaxmple for www.domain.com/users and not for any other thing on the server eg. www.domain.com?
You probably want two things.
There are other ways of accomplishing the same thing; if this doesn't work well for your situation, say so and we can work out the details of what you're trying to accomplish.
I don't know that you really want to do what you're asking (use SSL for one directory and deny it for others) -- More common is wanting to require SSL for one directory and allowing it to be optional for all others.
To require SSL simply create a
If you indeed do want to deny SSL for all other directories you can use mod_rewrite on top of the above solution to do so (rewrite