Author Topic: CWP fails update jumped 3 versions  (Read 3568 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: CWP fails update jumped 3 versions
« Reply #15 on: July 28, 2023, 07:57:13 PM »
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.

Offline
*****
Re: CWP fails update jumped 3 versions
« Reply #16 on: July 28, 2023, 08:21:36 PM »
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.

Offline
*****
Re: CWP fails update jumped 3 versions
« Reply #17 on: July 28, 2023, 10:54:07 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.
Code: [Select]
[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

Offline
*
Re: CWP fails update jumped 3 versions
« Reply #18 on: July 28, 2023, 11:39:43 PM »
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)