Again, it varies by publisher. For instance, CUP (at least for the type of journals that I read) allows the author to put up a preprint (before peer review) or a postprint (after review but before editing) on a personal page or the institutional repository immediately on acceptance; once the final version is available on their website (I think), you can also put it up on your own page; and once a year has passed after publication, you can also upload it to the repository. It's not optimal, but it's much better than nothing.