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

Pages: [1]
1
Installation / Domain redirect problem
« on: July 12, 2018, 06:03:22 PM »
Hi,

I am a bit stuck with the following:

I got my CWP running: Apache & Varnish Cache & Nginx Reverse Proxy
I got 3 domains for 1 user.
a.com
b.com
c.com

Domain a.com is running a drupal site under /home/theuser/public_html
How can I make b.com & c.com redirect to a.com

Redirect and not an alias.
Or using the same homedirectory (/home/theuser/public_html) makes the same site but on 3 different urls which makes your google ranking go down because your content isn't unique)

An alias who give problems for the autossl.

When I create b.com with the default path (/home/theuser/public_html/b.com)
I got a http 500 error. Probably due to the .htaccess in the base root (/home/theuser/public_html)

Edited the vhost.conf and use the redirect option
RedirectMatch permanent ^/(.*) http://a.com/$1
This works for http sites. But not when you use https://b.com or https://c.com

Hope anyone can help me out with a good solution.

2
Backup / mysqldump: Got error: 1142: "SELECT, LOCK TABLES
« on: July 07, 2018, 10:33:14 AM »
Got an error in my daily MySQL backup:
Code: [Select]
Skipping database: information_schema.
Database Backup: mysql --> /backup/mysql/daily//mysql.sql
Database Backup: oauthv2 --> /backup/mysql/daily//oauthv2.sql
mysqldump: Got error: 1142: "SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts'" when using LOCK TABLES
Database Backup: performance_schema --> /backup/mysql/daily//performance_schema.sql
Database Backup: postfix --> /backup/mysql/daily//postfix.sql
Database Backup: root_cwp --> /backup/mysql/daily//root_cwp.sql
Database Backup: roundcube --> /backup/mysql/daily//roundcube.sql

Anyway to solve this?

3
Apache / Mod Pagespeed not working (Solution)
« on: July 03, 2018, 06:29:03 PM »
Hi,

I've followed the guide from:
http://wiki.centos-webpanel.com/how-to-install-mod_pagespeed

but there is a little error in it.
The config:
/usr/local/apache/conf.d/pagespeed.conf

contains:
Code: [Select]
ModPagespeedFileCachePath            "/var/mod_pagespeed/cache/"
So you need to change this location to
Code: [Select]
ModPagespeedFileCachePath     "/var/cache/mod_pagespeed"
Because the wiki creates the cache file:
Code: [Select]
mkdir -p /var/cache/mod_pagespeed/
chown -R nobody:nobody /var/cache/mod_pagespeed/

So either change the config or lets change the wiki.
Anyone know how to contact the wiki person?


4
CSF Firewall / CSF mail tracking
« on: July 03, 2018, 02:43:08 PM »
Hi,

on my old directadmin server csf had a mail tracking.
You could enter a number of e-mails that a customer could sent / day and if they would sent more you would receive an e-mail.
This was very useful when the site got hacked and they started to spam.

Any chance that this will be in CWP?

5
CSF Firewall / LFD POP3 & SMTP attack aren't blocked.
« on: July 03, 2018, 09:27:44 AM »
With the default csf config the
LF_POP3D = "0"
LF_POP3D_PERM = "0"

So it doesn't block attacks.
Enabling the LF_POP3D = "1" doesn't change anything.
The attack still continue without a ban.

6
Apache / Possible to run the login page on a subdomain.
« on: June 29, 2018, 04:51:38 PM »
Is it possible to run the cwp on a subdomain on port 80 or 443?
so for my main domain test.com
I could login using test.com:2030
but is it possible to create admin.test.com instead?

Pages: [1]