#748·DVWA

mod_rewrite check fails on CentOS 9 Stream

Author: nt189Created May 1, 2026Updated May 31, 2026

I’m running DVWA on CentOS 9 Stream with Apache, and the application reports that mod_rewrite is not enabled, even though it appears to be correctly configured.

Environment: OS: CentOS 9 Stream Web server: Apache (httpd) DVWA installed in: /var/www/html/DVWA

What I have verified: mod_rewrite is loaded: httpd -M | grep rewrite ... rewrite_module (shared)

bash
Apache config: nano /etc/httpd/conf/httpd.conf
AllowOverride All

sudo systemctl restart httpd
Image