Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sappurit

Pages: [1]
1
SSL / Re: alertandautorenewssl cron empty email []
« on: November 08, 2021, 10:43:01 AM »
Code: [Select]
Subject: Cron <root@NYC1-TEMP> /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php

[]

I have the same issue very annoying. Do you have a solution yet? CWP version: 0.9.8.1099

2
CentOS 7 Problems / Re: 503 Service Unavailable Error
« on: October 25, 2021, 08:25:50 AM »
If you enable Mod Security, Check the Apache log and look for them. You will see an ID number. Then add them in Whiltelist.

If you have free time, you have to update your PHP scripts to the latest version.

3
PHP / Re: PHP Version Switcher
« on: October 25, 2021, 08:15:30 AM »
CWP  0.9.8.1095 Free version
CentOS Linux release 8.4.2105
Kernel Version: 4.18.0-305.19.1.el8_4.x86_64
Platform: x86_64 kvm
Apache/2.4.48
MySQL version: 10.4.21-MariaDB

I can upgrade from 5.6.xx to 5.6.37.
But now stuck at 5.6.37 forever. Very headache.
Can't downgrade to 5.3.x / 5.4.x / 5.5.x or upgrade to 5.6.40


4
hi,

I stuck with these 5.6.37 versions too. Very headache can't downgrade to 5.3.x or upgrade to 5.6.40

Logfile is ok.
tail -f /var/log/php-rebuild.log

I can upgrade from 5.6.xx to 5.6.37 then stuck.

5
Apache / Re: How to run perl cgi outside cgi-bin folder ?
« on: October 19, 2021, 03:37:07 PM »
Solved now! with the following code:

Code: [Select]
LoadModule suexec_module modules/mod_suexec.so
LoadModule cgid_module modules/mod_cgid.so

<IfModule cgid_module>
<Directory "/home/*/public_html/">
Options +ExecCGI +Includes +SymLinksIfOwnerMatch
AddHandler cgi-script .cgi .pl
Require all granted
AllowOverride All
</Directory>
</IfModule>


I saw in errorlog and search about:
Code: [Select]
[cgid:error] [pid 41348:tid 139847045981952] [client 49.237.xx.xxx:24894] End of script output before headers: index.cgi

and found the same problem at
Code: [Select]
https://stackoverflow.com/questions/28265735/apache-cgi-in-user-directory-end-of-script-output-before-headers
I checked the user public_html folder and found out that group was set to nobody.
Then I chgrp to the user group and chmod to 755.
Then all working.

6
Apache / How to run perl cgi outside cgi-bin folder ?
« on: October 18, 2021, 08:08:50 PM »
/usr/local/apache/conf.d/mod_cgid.conf

Code: [Select]
LoadModule suexec_module modules/mod_suexec.so
LoadModule cgid_module modules/mod_cgid.so

<IfModule cgid_module>
<Directory /home/*/public_html/cgi-bin/>
Options ExecCGI SymLinksifOwnerMatch
SetHandler cgi-script
AddHandler cgi-script .cgi .pl .py
Require all granted
AllowOverride All
</Directory>
</IfModule>

Work very well. But when I changed to
Code: [Select]
<Directory /home/*/public_html/>It crash all accesses even-though .htm

Pages: [1]