.htaccess is a litle more than that . One of the things that you can do is to set golobal variables for php .
Example:
php_value session.cookie_path /local/
you set the session.cookie_path variable.
I would sudgest you to look into php documenation for more details .