51
Nginx / Re: Restrict access to a cwp_service
« Last post by ppalma8 on March 29, 2025, 12:48:12 PM »Sorry I just read your post again so with this conf file Nginx will apply the apache directives:
cwp_services.conf
Is this necessary? or I can just continue with my Nginx conf to filter i.p access to certain directories / urls ?
Thanks, however I always find Apache Directives get ignored when running Nginx in CWP .
What am I missing that means the apache directives don't work, are you running Nginx ?
cwp_services.conf
Is this necessary? or I can just continue with my Nginx conf to filter i.p access to certain directories / urls ?
Thanks, however I always find Apache Directives get ignored when running Nginx in CWP .
What am I missing that means the apache directives don't work, are you running Nginx ?
(...)
Is there a better way to do this using CWP ?
Create a file /usr/local/cwpsrv/conf/security.conf with the following content:Code: [Select]#...
Choose yours IP adresses, and/or define additional authentication on cwpsrv.
satisfy any;
allow 192.168.1.1/24;
allow 127.0.0.1;
deny all;
auth_basic "Restricted access";
auth_basic_user_file conf/ht_passwd;
Create a file '/usr/local/cwpsrv/conf/ht_passwd' with your passwords:Code: [Select]# /usr/local/apache/bin/htpasswd /usr/local/cwpsrv/conf/ht_passwd
In file '/usr/local/cwpsrv/conf/cwp_services.conf', change your directive to:Code: [Select]location /pma {
root /usr/local/cwpsrv/var/services;
index index.html index.htm index.php;
include /usr/local/cwpsrv/conf/security.conf;
(...)
}
...and restart cwp on the panel, or with the command:Code: [Select]# /scripts/restart_cwpsrv
Regards,
Netino
52
Migration from other control panels / Re: CWP to CWP migration error in transfer file
« Last post by overseer on March 29, 2025, 11:52:13 AM »This is used as their bug report form:
https://control-webpanel.com/contact
I would open a support ticket with them. I will be doing a migration soon and see if I can replicate your issue or if it goes smoothly.
https://control-webpanel.com/contact
I would open a support ticket with them. I will be doing a migration soon and see if I can replicate your issue or if it goes smoothly.
53
Migration from other control panels / Re: CWP to CWP migration error in transfer file
« Last post by Tsa on March 29, 2025, 11:46:51 AM »If that is a BUG so what should be done ?? and where are CWP team members???
54
Installation / Re: Hidden processes...
« Last post by changlee on March 29, 2025, 09:55:31 AM »What exactly are the steps you follow?
55
Migration from other control panels / Re: CWP to CWP migration error in transfer file
« Last post by Tsa on March 28, 2025, 05:16:20 PM »Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?
Thanks for your replay , if you need any logs let me know.
56
Migration from other control panels / Re: CWP to CWP migration error in transfer file
« Last post by Tsa on March 28, 2025, 05:12:21 PM »Quote
Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?
accounts.ini
user_name="11"
57
Migration from other control panels / Re: CWP to CWP migration error in transfer file
« Last post by Tsa on March 28, 2025, 05:07:56 PM »Quote
Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?
Yes indeed I obfuscate the username='user_name'
58
Migration from other control panels / Re: CWP to CWP migration error in transfer file
« Last post by overseer on March 28, 2025, 03:56:56 PM »Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?
59
Migration from other control panels / Re: CWP to CWP migration error in transfer file
« Last post by Tsa on March 28, 2025, 03:45:37 PM »No can help??? OK maybe this is a BUG .
60
CSF Firewall / Perl Reporting Script from LFD to Spamhaus
« Last post by Starburst on March 27, 2025, 07:39:11 PM »We created a perl script if you want to automatically report firewall hits to Spamhaus via LFD.
https://starburst.help/security/csf-lfd/perl-reporting-script-from-lfd-to-spamhaus/
There is also a updated perl script for AbuseIPDB available.
https://starburst.help/security/csf-lfd/perl-reporting-script-from-lfd-to-spamhaus/
There is also a updated perl script for AbuseIPDB available.