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.
Pages: [1]
1
CentOS-WebPanel GUI / user after login redirect to NON https?
« on: September 14, 2022, 05:30:50 AM »
Hello
I canīt found any solutiojn for this..
From my CWP panel, the users login are secured with http with each customer domain, for example :
https://customerdomain.com:2083
When the customer login from there, he get error (because after login the panel is redirecting with NO https://)
If we modify manually that in the browser uRL bar to https:// the user panel display perfect.
I need to redirect after login to https:// instead to http://
Any help?
Thanks
Fabian
I canīt found any solutiojn for this..
From my CWP panel, the users login are secured with http with each customer domain, for example :
https://customerdomain.com:2083
When the customer login from there, he get error (because after login the panel is redirecting with NO https://)
If we modify manually that in the browser uRL bar to https:// the user panel display perfect.
I need to redirect after login to https:// instead to http://
Any help?
Thanks
Fabian
2
Functions / Security Advisor not appears in my CWP Pro.. is avaialble?
« on: December 07, 2020, 08:18:33 PM »
Hello
I saw on the new CWP site the Pro version includes a "security advisor"
But i canīt found it on my version of cwp pro (CWPpro version: 0.9.8.1025)
Thanks
Fabian
I saw on the new CWP site the Pro version includes a "security advisor"
Code: [Select]
Security advisor
Checks your server and lets you know how to improve the security of your server (we continuously add new checks for the security improvement).
But i canīt found it on my version of cwp pro (CWPpro version: 0.9.8.1025)
Thanks
Fabian
3
CentOS-WebPanel Bugs / NAT IP (Amazon) issues
« on: September 21, 2020, 05:42:30 PM »
Hello
I built a new instance in Amazon and installed CWP PRO.
For some reason, the fresh installation take the "private" IP of Amazon as "Default Server IP" (NOT as shared IP that i have the correct one.
So, the configuration is :
NS1: ns1.mydomain.com | IP:1.1.1.1 (the public IP and is correct)
NS2: ns2.mydomain.com | IP:1.1.1.1
Server IP: 2.2.2.2 | aws.mydomain.com (the private IP and is NOT correct)
Shared IP: 1.1.1.1 (correct)
Hostname: aws.mydomain.com
The hostname is correctly set pointing to the same shared IP and resolves OK.
The nameservers too.
Each time I login i get this error :
Then, i go to that link --> "CWP Settings" --> "Edit settings"
And i get :
The real issue (and i think is all for this NAT configuration) is that I have 2 sites hosted for now, and both sites show the default index.html page and not the correct content.
I checked the Apache conf of each domain, the path is perfect, the IP is perfect, all is perfect, but still opening the defalut page.
THEN...
1 - someboy can help me to re configure the NAT settings to put the private Amazon IP as NAT and the default server IP and shared IP with the same?
2 - the default index.html will be fixed with the nat configuration? or i need to change anything?
Iīm with this issue since more of 3 days ago, searching in google and many places, (i have knowledge with Centos, and linux commands)
NOTHING WORKS
I not want to reinstall everything again.. that wil be only solution??
Thanks for any help
Fabian
I built a new instance in Amazon and installed CWP PRO.
For some reason, the fresh installation take the "private" IP of Amazon as "Default Server IP" (NOT as shared IP that i have the correct one.
So, the configuration is :
NS1: ns1.mydomain.com | IP:1.1.1.1 (the public IP and is correct)
NS2: ns2.mydomain.com | IP:1.1.1.1
Server IP: 2.2.2.2 | aws.mydomain.com (the private IP and is NOT correct)
Shared IP: 1.1.1.1 (correct)
Hostname: aws.mydomain.com
The hostname is correctly set pointing to the same shared IP and resolves OK.
The nameservers too.
Each time I login i get this error :
Quote
WARNING! Possible NAT networking detected, Please check the following settings.
EDIT NAT SETTINGS
Then, i go to that link --> "CWP Settings" --> "Edit settings"
And i get :
Quote
hared IP:
Shared IP : 1.1.1.1
default: 2.2.2.2
Apache port: 8181 (is set with Nginx, but i tried also using only apache and the same happens)
Admin Email: my@email.com
NAT Local IP: NOTHING (and the dropdown menu not show anything)
when using private network you need to have private IP in the config files
DISABLED Activate NAT-ed Network Configuration (---> i canīt check this and i canīt do anything here)
The real issue (and i think is all for this NAT configuration) is that I have 2 sites hosted for now, and both sites show the default index.html page and not the correct content.
I checked the Apache conf of each domain, the path is perfect, the IP is perfect, all is perfect, but still opening the defalut page.
THEN...
1 - someboy can help me to re configure the NAT settings to put the private Amazon IP as NAT and the default server IP and shared IP with the same?
2 - the default index.html will be fixed with the nat configuration? or i need to change anything?
Iīm with this issue since more of 3 days ago, searching in google and many places, (i have knowledge with Centos, and linux commands)
NOTHING WORKS
I not want to reinstall everything again.. that wil be only solution??
Thanks for any help
Fabian
4
E-Mail / how to create folder /var/vmail/domain.com when we create new accounts???
« on: February 08, 2019, 04:27:55 AM »
Hello guys
I was all day trying to fix this issue and finally i found the problem.
PROBLEM :
1 - I create a new client account/domain in CWP : example : domain.com
2 - all goes well but.. when we create a new email , apparently it is created without errors, but never works. (we can SEND but NOT receive). In forums and Google there are LOT people with the same issue in CWP.
3 - Obviusly, another "associated" issue is that roundcubemail not works neither.
SOLUTION :
1 - create a new folder under /var/vmail with the domain created above (like /var/vmail/domain.com)
2 - change group and owner of this folder :
# chown vmail.mail /var/vmail/domain.com
3 - change permissions from 755 to 700 to that folder :
# chmod 700 /var/vmail/domain.com
DONE!
You can now login in roudncube and it creates the corresponding folders, and you also can use the account in OUtlook, Thunderbird, etc, like a charme...
But, CWP PEOPLE.. this is not just a "bug" this is ridiculous!!! Each time we create a new site, we must to do this MANUALLY ?
The domain.com folder under /var/vmail MUST TO BE CREATED AUTOMATICALLY!!!
I hope someone from CWP can read this an fix this terrible issue.
For other things.. the Panel looks perfect, and until now is working all well.
Thanks
Fabian
I was all day trying to fix this issue and finally i found the problem.
PROBLEM :
1 - I create a new client account/domain in CWP : example : domain.com
2 - all goes well but.. when we create a new email , apparently it is created without errors, but never works. (we can SEND but NOT receive). In forums and Google there are LOT people with the same issue in CWP.
3 - Obviusly, another "associated" issue is that roundcubemail not works neither.
SOLUTION :
1 - create a new folder under /var/vmail with the domain created above (like /var/vmail/domain.com)
2 - change group and owner of this folder :
# chown vmail.mail /var/vmail/domain.com
3 - change permissions from 755 to 700 to that folder :
# chmod 700 /var/vmail/domain.com
DONE!
You can now login in roudncube and it creates the corresponding folders, and you also can use the account in OUtlook, Thunderbird, etc, like a charme...
But, CWP PEOPLE.. this is not just a "bug" this is ridiculous!!! Each time we create a new site, we must to do this MANUALLY ?
The domain.com folder under /var/vmail MUST TO BE CREATED AUTOMATICALLY!!!
I hope someone from CWP can read this an fix this terrible issue.
For other things.. the Panel looks perfect, and until now is working all well.
Thanks
Fabian
5
PHP / i canīt run php as html files
« on: January 26, 2019, 06:34:17 PM »
Hello
I have is php switcher 7.2.15
also compiled the same verion 7.2.15 in php_selector 2
I have a site using html files but with php code.
Normally, in all servers with cpanel and other panels i do this with the addhanlder line in htaccess like this :
AddHandler application/x-httpd-php72 .php .html
not working here.. the files with html extension and php code display the code.
Iīve tried everything.. i set at "webserver domains conf" for the domain : apache + nginx php-cgi
i modified this part in the domain.conf under nginx (/etc/nginx/conf.d/vhosts/domain.com.conf)
location ~ .*\.(php|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
for this :
location ~ .*\.(php|html|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
then restarted Nginx and apache
nothing happens
any help ?
I have is php switcher 7.2.15
also compiled the same verion 7.2.15 in php_selector 2
I have a site using html files but with php code.
Normally, in all servers with cpanel and other panels i do this with the addhanlder line in htaccess like this :
AddHandler application/x-httpd-php72 .php .html
not working here.. the files with html extension and php code display the code.
Iīve tried everything.. i set at "webserver domains conf" for the domain : apache + nginx php-cgi
i modified this part in the domain.conf under nginx (/etc/nginx/conf.d/vhosts/domain.com.conf)
location ~ .*\.(php|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
for this :
location ~ .*\.(php|html|jsp|cgi|pl|py)?$ {
proxy_pass http://1.1.1.1:8181;
include proxy.inc;
}
then restarted Nginx and apache
nothing happens
any help ?
6
PHP / New Install - i canīt understand PHP Switcher - never works
« on: January 11, 2019, 07:22:23 PM »
Hello
I just instaled the panel to test it.
I have as main PHP version installed 5.6.37 (display in "PHP info")
Then, i want to switch it to 7X
Iīve try to 7.2, to 7.3 etc..
Apparently all compile fine.. but ALWAYS appears 5.6.37 as PHP version.
What think Iīm doing wrong ??
Anyway.. to use PHP selector V2 I need to upgrade to CWP PRO ?? or can still using the free version?
Thanks in advance
Fabian
I just instaled the panel to test it.
I have as main PHP version installed 5.6.37 (display in "PHP info")
Then, i want to switch it to 7X
Iīve try to 7.2, to 7.3 etc..
Apparently all compile fine.. but ALWAYS appears 5.6.37 as PHP version.
What think Iīm doing wrong ??
Anyway.. to use PHP selector V2 I need to upgrade to CWP PRO ?? or can still using the free version?
Thanks in advance
Fabian
Pages: [1]