New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

CWP fails update jumped 3 versions

Started by Martins-phpbb, July 27, 2023, 03:49:49 PM

Previous topic - Next topic

Martins-phpbb

mod_rewrite module is no longer installed in latest cwp (that i can find) and yes the image i showed is from phpbb and until cwp jumped too this latest version mod_rewrite worked fine.

Starburst

Again, CWP doesn't add or remove modules automatically. And this latest update just added some reports and the latest PHP versions to build.
UNLESS you rebuild Apache, then everything goes back to defaults.

You have to make these changes manually via the httpd.conf file.

But looking at our servers the mod_rewrite is active by default.

You can check the Enabled/Disabled modules by:

WebServer Settings -> WebServer Conf Editor -> (/usr/local/apache/conf) tab -> Click Blue Edit button to the right of httpd.conf

Then Ctrl-F to search for 'mod_rewrite'

You will see the line:
LoadModule rewrite_module modules/mod_rewrite.so


If yours, for some reason starts with a #. Delete the comment marker (aka #)
Save changes, and restart Apache.

overseer

Quote from: Martins-phpbb on July 28, 2023, 07:57:13 PM
mod_rewrite module is no longer installed in latest cwp
That would be putting a (metaphorical) gun to your head and pulling the trigger. Or amputating a major limb (done using that arm now). mod_rewrite is a default, essential apache module, so they would not fail to include it.
[root@srv# locate mod_rewrite
/usr/local/apache/include/mod_rewrite.h
/usr/local/apache/manual/images/mod_rewrite_fig1.gif
/usr/local/apache/manual/images/mod_rewrite_fig1.png
/usr/local/apache/manual/images/mod_rewrite_fig2.gif
/usr/local/apache/manual/images/mod_rewrite_fig2.png
/usr/local/apache/manual/mod/mod_rewrite.html
/usr/local/apache/manual/mod/mod_rewrite.html.en
/usr/local/apache/manual/mod/mod_rewrite.html.fr.utf8
/usr/local/apache/modules/mod_rewrite.so

Martins-phpbb

Issue solved it took many hours but it turned out to be a rogue bit of code in an htaccess file thanks for the hints tho.

Cwp in general has ran fine the last 4 years for me i'v managed so solve many issues without the need to post but this one got me at a time my head is else where. (loss of family members)