Drupal’s .htaccess file which uses mod_rewrite to allow clean URLs without the ? parameter is not working because its changes are rejected because Apache is not configured with “AllowOverride All”. This is needed to make Drupal coexist with the other site the way we want.
I need access to change these files to fix it:
/etc/apache2/sites-available/default
/etc/apache2/sites-available/default-ssl
/etc/apache2/httpd.conf
Here’s the planned fix. If you do it yourself, please still give me access to httpd.conf in case I need to change it again later.
In /etc/apache2/sites-available/default change the 2nd instance of “AllowOverride None” to “AllowOverride All”
and in /etc/apache2/sites-available/default-ssl change the 2nd instance of “AllowOverride AuthConfig” to “AllowOverride All”
replace
/etc/apache2/httpd.conf
with
/home/maintenance/httpd.conf
This probably requires Apache to be restarted after. (apache2ctl graceful)
Source: Published by Martti Malmi on GitHub in February 2024 as part of his testimony in the COPA v. Wright trial. The full correspondence archive is available at mmalmi.github.io/satoshi/.