by default, mod_rewrite is enabled.
if you're using native configured virtual host instead of reading apache's httpd.conf, need set "Allow Override":
lsws admin console
7080) -> Configure -> Server ->
General -> Allow Override: uncheck "None", check all others
similar settings at vhost level:
Virtual Hosts -> General -> Allow Override