Ignored Rules

Rules Silently Ignored Because AllowOverride Forbids Them

The front controller of Front-Controller Routing is in place, yet /products/42 returns 404 and the log is empty. The manual's test is a nonsense word in the file: no 500 means Apache 129 never opened it.

The nonsense-word test, then the AllowOverride lines that applyApache config
sed -i '1i TestMe' /var/www/example/.htaccess
curl -s -o /dev/null -w '%{http_code}\n' localhost:8111/products/42
grep -n -e '<Directory' -e AllowOverride /etc/apache2/apache2.conf /etc/apache2/sites-enabled/*
Output
404
...
/etc/apache2/apache2.conf:170:<Directory /var/www/>
/etc/apache2/apache2.conf:172:   AllowOverride None
...
/etc/apache2/sites-enabled/example.conf:6:  <Directory /var/www/example>

The site's <Directory> grants access but never mentions overrides, so it inherits None from Ubuntu 225 's <Directory /var/www/> (Merging and Inheritance). With AllowOverride FileInfo and Options FollowSymLinks added and Apache reloaded, the request becomes a 500 with Invalid command 'TestMe'; delete line 1 and it answers front controller: /products/42. Other silent skips: