I'm working on an e-commercial site, and it accepts credit card info so I'm using SSL to keep it all secure. Is it possible to redirect all links on the site to https://

for example, http://www.domain.com/foobar.php would automatically go to https://www.domain.com/foobar.php ?

I'm pretty sure it's done in CPanel some how, but I'm not very good with CPanel.