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 - apmuthu

Pages: 1 [2]
16
Apache / Re: Default Page Displayed for all domains
« on: November 05, 2014, 06:37:05 PM »
Compared settings of /usr/local/apache/conf.d/vhosts.conf in the demo install and mine and found that the setting should be:
Code: [Select]
..
..
<Directory "/">
        AllowOverride All
</Directory>
..
..

In mine it was by default: /home/tester/public_html

After this change it works now!


17
Installation / settings table to be pivoted
« on: November 05, 2014, 05:57:34 PM »
The settings table in root_cwp db has only 1 record having 1 field for each setting. As settings increase, these fields will soon increase. Best to have 3 fields - param_name, param_value, param_attribute where the last can be a json/serialised value. Then there can be several records - 1 for each param_name. hence we can have specific queries like "SELECT * FROM settings WHERE param_name='shared_ip';". Pivoting the table this way will make for other relationships later.

18
Installation / Install time reduction
« on: November 05, 2014, 05:52:37 PM »
The apache and php source files take time to download and along with apr and apr-util are being downloaded twice - once for the apache (/tmp/apache-build and /tmp/php-build) and another time for the cwpsrv (/usr/local/src). These files can be copied over if they exist in the first download locations to the second one. Compilation too takes upto 40 minutes for a full install on a VPS with a fast internet connection. Any RPM based installs to save time?

19
Installation / Redundant MySQL queries
« on: November 05, 2014, 05:48:14 PM »
There are atleast two sets of "SELECT * FROM settings;" and a subsequent resultset taken into a $row variable in the cwpsrv php files in each module's page even when there is no use for them. Turn on MySQL logging and you will see a huge flurry of SQLs churning out.

This slows down access to the Panel.


20
Apache / Re: Default Page Displayed for all domains
« on: November 05, 2014, 05:44:48 PM »
This does not work on a fresh install - still all resolve to default domain.

21
As of CWP v093 these settings can be done in the GUI - the Shared IP setting can be "*" and provides the global value of NameVirtualHost. The IP Address in the User details can also be "*" and will be the value for it's VirtualHost.

The Topic issue is solved but the webroot does not propagate to the VirtualHost sites!

22
Information / Re: Outdated info over mysql conection error cwp panel
« on: November 05, 2014, 04:32:37 PM »
Other than in phpMyAdmin, where can we change the MySQL root password in the CWP?

23
Information / Re: CentOS Configuration File Locations (CWP)
« on: November 05, 2014, 04:26:16 PM »
RoundCube Password stored in:
/usr/local/cwpsrv/htdocs/resources/admin/include/.passwords

24
CentOS-WebPanel Bugs / Re: Deleted user and still have access
« on: November 05, 2014, 05:25:13 AM »
Deletion stated that it was successful but the entry in the db remained.

25
CentOS-WebPanel Bugs / Re: Error When Adding Domain
« on: November 05, 2014, 01:02:16 AM »
When we create  the first user and type in a domain for it and then we check the list of domains, it does not appear.

26
CentOS-WebPanel Bugs / Re: Error When Adding Domain
« on: November 04, 2014, 10:41:21 PM »
When the first user is added, should we leave the domain field empty? What association does the user have to the domain in this form?

27
CentOS-WebPanel Bugs / Re: Deleted user and still have access
« on: November 04, 2014, 10:39:48 PM »
Had to manually delete the user from the cwp_root db's user table. Such fixes - diff patches - can be posted here.

28
CentOS-WebPanel Bugs / cwp-latest fix for file deletion
« on: November 04, 2014, 10:31:14 PM »
Line 286 in cwp-latest script file:
Code: [Select]
rm -f cwp_test.zip
should be
Code: [Select]
rm -f cwp_test_093.zip

There is a cwp_test_094.zip file also available but it does not have the jcterm.jar and other jar files.
jcterm bundled in is v0.0.10 whereas v0.0.11 was out a couple of years ago!

sinfo.sh checks for "php -v" even when php is not installed as yet....

apr_util v1.5.3 is used. apr_util v1.5.4 works okay.

phpMyAdmin v4.0.8 is used. phpMyAdmin v4.0.10.5 (LTS till Jan 2017) works and so does v4.1.14.6 but the v4.2.x series does not work as it expects MySQL v5.5 where mysqli is no longer used.

RoundCube v0.8.5 is used. v0.9.5 works fine on it. Why can the root user's mail not be accessible in RoundCube?

We need atleast 1 domain to add a user. We need atleast 1 user to assign a domain. Chcken and egg? Which is optional?

If a service is running, why provide the start button (better grey it out). Same for when it is stopped.


Why are the cwp_test_093.zip's php file obfuscated? It really slows things a lot when regular files like phpinfo.php have to be used frequently. Just encrypt the files that have the salt and other rkey type stuff. This also makes debugging difficult.

29
Aplications / Re: How to install wordpress to linux server
« on: November 04, 2014, 10:21:36 PM »
This problem gets set right only if TeamSpeak3 is installed.

Pages: 1 [2]