Support Center > Knowledgebase > DirectAdmin > Apache Related Information > I need to ensure I have mod_rewrite enabled.
I need to ensure I have mod_rewrite enabled.
We get this question quite a bit, but not too sure why. It's always enabled in Apache by default.
To confirm, type:
/usr/sbin/httpd -l | grep mod_rewrite
and you should see
mod_rewrite.c
in the output if it's enabled.
If not, then it's possibly you're not using one of our compiled binaries, in which case, recompile apache and php:
/usr/local/directadmin/custombuild
./build all d
./build rewrite_confs
and confirm the "Server built" date is current:
/usr/sbin/httpd -V
Also Read