Is there a way to force a site to always go to the secure url?

I.e.

if i go to http://www.domain.com/ it'll always redirect to https://www.domain.com

Amssuing this is a httpd.conf tweak but not sure what to add to the virtual host...

Cheers,

Jee