After upgrading apache 2.2 to 2.4, .htaccess wont work. rebuildhttpconf is unhelpful
Since upgrading from Apache 2.2 to 2.4 manually (because apparently WHM 11 is too old to upgrade easyapache automatically), running rebuildhttpdconf was unsuccessful.
First it complained about not wanting to run until apache was installed using easy apache. then I commented those lines out in the code.
Now when I run the script, it ignores all changes I put in every script at /var/cpanel/templates/apache2_4/ , even comments.
I did install the ruid update for that apache.
I also tried adding a configuration to conf/userfiles/std folder as follows:
<directory .>
AllowOverride All
</directory>
I used those lines specifically because theres RDocumentChRoot lines and that probably forces a change in the directory before executing anything.
How can I make it where .htaccess files in public_html folders of all virtual hosts work?
Everything else in my server is ok. I just need to have .htaccess files enabled.
Also if it helps, I accidentally changed ownership of some system folders to a specific username and that locked me out of SSH and I had to get a remote admin to fix that.
Someone please help or I'll have to revert to apache 2.2 and run a protest against TLS 1.3 and the continued practice of filling up landfills with old systems.
-
Hey hey! Your system is completely unsupported at this point so it's not surprising to me that things aren't working well. You desperately need to upgrade the machine.
0
Please sign in to leave a comment.
Comments
1 comment