This is the best way to do it as it rewrites the user's URL to the proper address. It's also cleaner than using a rewrite. Though it doesn't send a 301, it shouldn't make all that much difference as user's aren't going to be bookmarking your non-www site.

This is the best way to do it as it rewrites the user's URL to the proper address. It's also cleaner than using a rewrite. Though it doesn't send a 301, it shouldn't make all that much difference as user's aren't going to be bookmarking your non-www site.

Thanks for suggestion, but this does not works for me at all - i get 404.
It seems like something wrong with my httpd.conf

this213

Guru

Posts: 1259

Loc: ./

3+ Months Ago

Did you restart the server (stupid question, but figured I'd ask). I do this to all of my domains without issue on apache 1 and 2.