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.


Topics - kandalf

Pages: 1 [2] 3
16
Apache / nginx -> apache -> php-fpm VS nginx -> php-fpm
« on: February 27, 2022, 10:17:32 AM »
I found that CWP have a configuration that is nginx -> apache -> php-fpm what are the advantages of this instead of nginx -> php-fpm?

With nginx -> apache -> php-fpm can we still use .htaccess?

At the moment I'm using Nginx + Varnish + Apache php-cgi, I don't know exactly the impact of Varnish since I don't change any configuration but all websites work well.

Most of the examples on the internet use nginx + php-fpm or apache + php-fpm, I don't understand what are exactly the advantages of have nginx + apache + php-fpm

17
Backup / Retention of backup for the last X days
« on: February 21, 2022, 11:43:37 AM »
At the moment the regular backup system can do a daily, weekly and monthly backup, but it lacks a function for example to keep the last 3 daily backups. There are any way to have the last X daily backups?

With the new backup system we already can have a backup for each day this will required the have space for at least 7 days, there are any way to get only for the last X days, this is very common in many systems but I don't know how to implement it on CWP

18
Backup / Enabling remote backup will keep the files in the current server?
« on: February 18, 2022, 10:04:38 AM »
I have enabled the remote backup, but I still have the backups in the current server, can I erase it or the remove backup it's only a duplication of my local backup?

In other words can we have only the remote backup without store the anything in the current server?

19
Information / Bandwidth monitor with historic
« on: February 18, 2022, 10:00:15 AM »
I think CWP should have a Bandwidth monitor not like the current one that only show the current bandwidth consumption but something like vnstat, that shows a log of consumption but month, by day and even by hour.

This is really useful, for example I have enabled remote backup and I don't have any idea how much data it being sent every day.

20
Backup / There are any backup logs?
« on: February 16, 2022, 09:30:32 AM »
I'm using the old backup system with remote backups (via ssh with rsync), there are any backup logs? I want to know how many time takes to do the backup, to calculate the transfer speed between both servers.

Another doubt the backup will be duplicated (in current server and in the remote server) or it will only send to the remote server and erase it on the current one?

21
The default PHP version on my server is PHP 7.3 I want to update it to 8.0 or 8.1, but since I have lots of websites most of them are using the current default version I want to keep that websites with the current version. There are any way to do that automatically?

Some websites are already using a custom php version, that websites will be not affected by this, but the ones that don't set a custom php version I need to force to set version 7.3 before uptade the default php to 8.1

22
CentOS-WebPanel Bugs / In client panel "Fix Account Issues" not working
« on: January 26, 2022, 11:36:25 AM »
I saw that in client panel we have a new option called "Fix Account Issues" but when I click on it I get this error in a blank page "Error, module does not exist"

How can I fix this?

23
Apache / WebServers Domain Configuration Reset
« on: January 10, 2022, 09:57:04 AM »
I work with multiple Laravel websites on my server so I have created a template for apache and nginx to handle laravel instalations, after I create a new domain I go to "WebServers Domain Conf" and set a custom template, everything works well but sometimes without any reason some domians lose that custom template, this is really strange.

Any tips?

For example I can have an account with 3 domains with custom template most of the times the only one of that domains will be reset to the initial template, usually this happens more in new domains, I add a new domain create add the custom template everything work and 1 ou 2 days later it lose that custom template and return to de default

24
Installation / New server which OS do you recommend
« on: November 12, 2021, 02:22:38 PM »
I have production server with Centos 7 and I need to buy a second server should I stay with Centos 7?

I have read that RockyLinux also works, at this moment what do you guys recommend?

Other question it will be possible to update Centos 7?

25
Apache / Create httpd template to automatically add admin subdomain
« on: May 16, 2021, 10:18:38 PM »
I want to create a httpd template that automatically add a "admin" subdomain and want that the SSL create the certificates to the main domain and to the subdomain.

I'm working with Yii2 framework for website development and I have the code separated in 2 folders frontend and backend, I want to install the website with a domain like example.com and use a template to automatically create the admin.example.com that will point to the backend folder.

I already have a template for this type of structure but usualy I access like example.com/backend but this client want to use admin.example.com, how can I manage to do that. This website will required to have ssl from Let's Encrypt.

This is my current template without the admin subdomain
Code: [Select]
<VirtualHost %ip%:%apache_port%>
ServerName %domain_idn%
%domain_aliases%
ServerAdmin webmaster@%domain%
DocumentRoot %docroot%/frontend/web
UseCanonicalName Off
ScriptAlias /cgi-bin/ %docroot%/cgi-bin/
    Alias /backend/ %docroot%/backend/web/

CustomLog /usr/local/apache/domlogs/%domain%.bytes bytes
CustomLog /usr/local/apache/domlogs/%domain%.log combined
ErrorLog /usr/local/apache/domlogs/%domain%.error.log

# Custom settings are loaded below this line (if any exist)
# IncludeOptional "/usr/local/apache/conf/userdata/%user%/%domain%/*.conf"

<IfModule mod_setenvif.c>
SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
</IfModule>

<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled %user%
</IfModule>

<IfModule mod_suexec.c>
SuexecUserGroup %user% %group%
</IfModule>

<IfModule mod_suphp.c>
suPHP_UserGroup %user% %group%
suPHP_ConfigPath %home%/%user%
</IfModule>

<IfModule mod_ruid2.c>
RMode config
RUidGid %user% %group%
</IfModule>

<IfModule itk.c>
AssignUserID %user% %group%
</IfModule>

<Directory "%docroot%/frontend/web">
Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
    <Directory "%docroot%/backend/web">
Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>

</VirtualHost>

26
I have PHP 7.3 set as default I want to change it to PHP 8  but I have multiple websites that work well with 7.3 and I don't want to check if every websites works with php 8.
So there are way to change the server default PHP but keep all the old websites with the PHP 7.3?

27
E-Mail / Stats about emails sent and received
« on: July 01, 2020, 10:03:38 AM »
I have a problem in my server I have multiple clients and I have no way to check if some is sending spam.
I think CWP should implement some way to check some basic stats about emails, total number os emails sent, total number os emails received, the same for for account or better for email.

Any one knows how can I find this kind of information?

Sometime ago one of my clients set a autoresponder in an email then that email start receiving lots and lots of spam an reply to each spam email with an email, it was hard to find the problem because I don't have any way to see the numbers of emails sent by each account.
Some times a website can be hacked and start sending spam from random emails there are any way to find it?

28
Backup / Backup last 3 days
« on: June 20, 2020, 09:58:05 AM »
I'm using the new Backup system and I can set a daily backup for every day of the week, a weekly and monthly backup.
But there are any way to backup only the last X days?
I don't need a a 7 days backup the last 3 are  enough, my server is with lack of space to hold 7 daily backups + 1 weekly backup + 1 monthly backup.

29
I have multiple servers and I have updated 2 of them, now I have the same error on both everytime I tried to restart any service.

I get the following error:
Code: [Select]
Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)

Why we get this error? And what is the solution?

30
PHP Selector / How to add PHP 7.4 to PHP Selector 2 (CWP Pro)?
« on: April 19, 2020, 05:18:58 PM »
I really need to run PHP 7.4 on my server but it won't appear on PHP Selector 2, this is very disappointing, PHP 7.4 was releases 5 or 6 months ago and CWP don't support it yet.

Any tips how to install php 7.4 on my server, I don't want to break anything I want to keep multiples versions of php but I need PHP 7.4 for one project.

Pages: 1 [2] 3