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

Pages: [1]
1
Addons / Re: No Permissions in NextCloud
« on: May 10, 2019, 08:41:46 AM »
Yes you need to recompile apache add this options: 
--enable-dav
--enable-dav-fs
--enable-dav-lock
--enable-auth-digest
--enable-authn-core
--enable-authz-core

2
Aplications / Re: Anyone have luck installing Nextcloud 15.02 on CWP?
« on: April 11, 2019, 07:21:21 AM »
Rebuild Apache with options:
-–enable-dav
-–enable-dav-fs
-–enable-dav-lock
-–enable-auth-digest
-–enable-authn-core
-–enable-authz-core

Uncomment:
LoadModule alias_module modules/mod_alias.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_user_module modules/mod_authz_core.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_lock_module modules/mod_dav_lock.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so

Uncomment also:
Include conf/extra/httpd-dav.conf

then restart httpd:
systemctl restart httpd

check apache:
/usr/local/apache/bin/httpd -M | grep -i dav

If results this it'all right:
dav_module (shared)
dav_fs_module (shared)
dav_lock_module (shared)

Edit
/usr/local/apache/conf/extra/httpd-userdir.conf

Replace with this code:
<Directory “/home/*/public_html”>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

restart httpd:
systemctl restart httpd

add on the bottom of .htaccess file of nextcloud directory

<Limit GET POST>
order deny,allow
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
allow from all
</Limit>

That's all
 :)

3
How to / Re: How to Change Site IP Address
« on: February 16, 2019, 11:10:50 AM »
Create file: /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE="eth0:0"
BOOTPROTO=static
ONBOOT=yes
TYPE="Ethernet"
IPADDR=80.80.25.25
#HWADDR=00:0C:29:28:4C:4C
#GATEWAY=80.80.25.1
NETMASK=255.255.255.0

do this for each additional IP address, you only need to increase virtual interface number by one for each additional IP.
Like eg. eth0:1, eth0:2, eth0:3 …

**if you don’t have HWADDR then delete that line.

Restart Network

service network restart
Check all IP’s configured on the server

ifconfig

if your new IP address is listed then you have successfully added a new IP address.

4
CentOS-WebPanel Bugs / Re: htaccess doesn't work on website not ssl
« on: February 12, 2019, 09:58:54 PM »
Hello, thanks for your reply. I use only apache. I don't want redirect all traffic on https but on http if the domain not have certificate installed. I have many websites ssl and not. If I try to open https url on domain without certificate, it show default server page. I need then a redirect from https to http only for domains without certificate.

5
Someone has happened in the middle of the updates and this is why you will find answers similar to the one above. Actually there are still some problems, but you always find someone willing to help you on the forum or from technical support. I use cwp7 for years and it works very well. At first I used it on a vps where I kept my personal websites, now, after years of use, I've transferred everything from cpanel to cwp. The server is a real production server that host a lot of website (wordpress, magento, joomla, prestashop and static website) The bugs are everywhere, on every control  panel, even if you pay a lot of money ...  I say this from experience ;)
Can you tell me the characteristics of your vps?
I had a problem with small vps on digital ocean too

6
CentOS-WebPanel Bugs / htaccess doesn't work on website not ssl
« on: February 12, 2019, 11:44:49 AM »
Web sites without a ssl certificate directly visiting the SSL URL, instead of redirecting the traffic on the http protocol shows the server default page. I try many ways with htaccess , rebuilt whost, restart apache but it does not work.

7
Informations / Re: CWPpro version: 0.9.8.742 vhost templates
« on: February 10, 2019, 09:30:17 AM »
UP! It's very important have redirect from panel from http and https and no www to www.

8
Informations / Re: I want to change the PHP version of only single domain
« on: February 10, 2019, 09:24:45 AM »
Hello, PHP-FPM Selector can run only a single PHP-FPM version per domain and subdomain but you can select any versions you want, PHP Switcher  can have only a single version active at the same time but you can select the version you want , PHP Selector you can run all at the same time even as a different per folder.
So, gpslab can run default php for all other domains and php-fpm for one domain.
You can  configure all from webserver menu>webserver main config and webserver domain config.

9
Go to mail menu>mail server manager  and try to rebuilt mail server. Maybe you can solve the problem

10
Login in email account form roundcube  ;)
You must update roundcube first, form terminal digit  sh /scripts/mail_roundcube_update

11
Informations / Re: I want to change the PHP version of only single domain
« on: February 08, 2019, 12:09:53 PM »
You can use PHP-FPM Selector and compile all php version you need. First you must select module from option list(if you want select module), then compile php.
When the system finishes compiling, go to the configuration
Manage WebServers Configuration, selet the user, then the domain or sub domain, create configuration, select apache php-fpm and the version of php you need. Check Rebuilt vhosts option and save

12
How to / Re: How To Parked Domains - multi domains to one domain
« on: February 08, 2019, 11:44:39 AM »
The reported method doesn't work because it's overwritten as soon as the vhost files are rebuilt. There is a good solution that is not overwritten by the system, that is:
- First create an additional domain and give it a path in the directory of your account es: /home/myaccount/domainadd/ and not the default path (/home/myaccount/public_html). Create in the directory you just created a .htacess file with the following line:
RedirectPermanent / http://newdomain.com/ or
RedirectPermanent / https://newdomain.com/ if you want redirect all trafic in ssl mode.
It works great

13
Installation / Re: please, go back to the previous versions of cwp
« on: February 05, 2019, 11:44:32 AM »
I use cwp from about a couple of years and I haven't any problem before. Now I have a lot of problem with php-fpm selector and apache rebuilt too. There are too many bugs in new version. Imap, ioncube not found, etc...when I remove php-fpm and php selector 2, it works fine like before the upgrade. I try to install http2 and recompile apache in additional configuration but apache not load the module. I try many times but nothing. Also if I try to rebuild apache, sometimes it breaks (httpd.conf with only 3 lines). All this works are on new installation on test machine  ::)

14
CentOS 7 Problems / Re: httpd.conf get erased on rebuild
« on: February 05, 2019, 08:50:07 AM »
You must restore the file from the backup created before recompiling apache /usr/local/apache/conf/httpd.conf-cwpsave, or if there is not try to reinstall cwp-httpd again:
yum remove cwp-httpd
yum install cwp-httpd
I'm having the same problem on different new installations of cwp pro, after apache recompilation only those three lines remain.
Also recompiling is useless because the additional settings are not loaded. This problem is only for new installation of cwp
I do not think the serious problem has it vojjin... 8)

Pages: [1]