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)
Apache config: nano /etc/httpd/conf/httpd.conf
AllowOverride All
sudo systemctl restart httpd

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)