Apache rewrite question
Does anyone have a snippet of an apache config file that demonstrates a simple rewrite rule for prepending the "www" portion to the domain name? I know the basics of apache configuration but the rewrite stuff (especially the regular expresions!) is very confusing to me.
I'm just trying to get mydomain.com to always load up in a browser as
you don't need rewrite for that. Rewrite is not recommended for security reasons. Do this in your apache config:
yourdomain.com - redirect to