cd /usr/local/directadmin/custombuild
./build set apache_ver 2.2
./build update
./build apache
./build php n
./build rewrite_confs
apache_ver: 2.4. Current value: 2.4. Default value: 2.4.
Custombuild 2 supports only Apache 2.4:
Code:apache_ver: 2.4. Current value: 2.4. Default value: 2.4.
What is special in Apache 2.2 that makes you want it? Probably we could suggest a solution how to achieve the desired with Apache 2.4.
Will you give us some examples of what kind rules do not work? Are they located in .htaccess in public_html/ or in public_html/subfolder/ ?
The following line must be the cause:
Code:RewriteRule . /index.php [L]
Try replacing it with:
Code:RewriteRule ^(.*)$ index.php/$1 [L]
If that does not help, a downgrade to 2.4.16 is enough to solve it.