On Mon, Jan 17, 2011 at 11:55 AM, Wade Preston Shearer
<[email protected]> wrote:
> I just tried it again and it's working now though.
>
> <VirtualHost *:80>
>        ServerName example.com
>        Rewrite / http://www.example.com
> </VirtualHost>
>
> <VirtualHost *:80>
>        ServerName www.example.com
> </VirtualHost>

This is exactly how I handle it. Works in both directions (I force
non-www on some personal domains ;)

Regards,
Bryan Petty

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to