mod_rewrite gone with latest easyapache update
Hello,
Yesterday EasyApache4 was update and mod_rewrite is gone and cannot be enabled.
Anyone having the same problem?
-
After performing a full server backup, i have updated the easyapache4 and the rpm of the server. it seems it is a cPanel 82.0.17 related error. the rewrite engine is not working anymore after the cpanel update. 0 -
mod_rewrite should be compiled - you should be able to check it with the following: httpd -M |grep rewrite
Are you seeing related errors in the apache error logs?0 -
mod_rewrite should be compiled - you should be able to check it with the following:
httpd -M |grep rewrite
Are you seeing related errors in the apache error logs?
The problem was that after updating to the latest current release, the problem was that the websites are not loading correctly and i have seen errors related to php and rewrite. I had to do a full server restore for the problem to be solved.0 -
I understood that seemed to be a result of the update, unfortunately, there is no way to know what the issue actually was once the server has been restored. As of now I don't see any further reports of this behavior, if something of this nature occurs again please feel free to open a ticket so that we can look further into it. Thanks! 0 -
We are having the same issue on a server with Prestashop....store was perfectly fine until the last update. now this is what is shown when checking URL rewriting: <3rd party link removed> 0 -
Hello @Marcelo R. Berwanger I would almost never recommend a full restore of the server to resolve an issue. In your case it looks like the redirect fails when attempting to navigate to a temp url like that used for mod_userdir - is mod_userdir protection disabled on the server? You can identify if it is by going to WHM>>Security Center>>Apache mod_userdir Tweak @BlueSteam - even though I removed the link to the 3rd party site, I did take a look at it - what is the output of the following: httpd -M |grep rewrite
Does the following complete successfully and is the issue resolved once it is completed:/usr/local/cpanel/scripts/rebuildhttpdconf && /usr/local/cpanel/scripts/restartsrv_httpd && apachectl status
0 -
Hi @cPanelLauren I got it. But as it is a new server managed by Godaddy and there was no I ended up doing a full restore server and mod_rewrite works. Yes, I had disabled mod_userdir protection. I hired a VPS from Godaddy and their admin user is not allowed to run the commands you gave me. :( Thanks! 0 -
We have solved the issue. We determined that rewrite is now part of apache by default and we are running the FastCGI on the server so that is why we could not see it on the phpinfo output. Testing the url rewrite worked fine. The root cause of this problem turned out to be the apache module mod_evasive which we have now disabled temporarily through EasyApache4 until we can tweak the settings to be more lenient. 0
Please sign in to leave a comment.
Comments
9 comments