Question on mod_rewrite on JWS 3.0
I am trying to use mod_rewrite to redirect a url such as https://example.com to https://example.com/someContext
I have configured the following virutalhost:
DocumentRoot /opt/redhat/jws-3.0/httpd/www/example.com
ServerName example.com
RewriteEngine On
Rewrite ^(.*) someExample/$1 [L,R,PT]
Once I start up the httpd server, I see the following error in the log:
AH00526: Syntax error on line 11 of /opt/redhat/jws-3.0/httpd/conf.d/ssl_example.conf:
Invalid command 'Rewrite', perhaps misspelled or defined by a module not included in the server configuration
Do I need to enable mod_rewrite?
Thanks!