DanH42
- Total activity 44
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 10
Posts
Recent activity by DanH42-
EasyApache Tomcat JDBC MySQL Connector
I'm running WHM 11.50 (EA 3.32.3) with a combined PHP/Tomcat setup. Everything is currently working, but in order to get connections working to the MariaDB 10.0.21 server, I had to swap out the ins...
-
Create a subdomain on account creation
I've like to be able to automatically create a subdomain of an account's primary domain when the account is created. The name of the subdomain will not change between accounts; it'll always be subd...
-
Publicly-accessible PHP script run as root
I've got some pre-defined maintenance functions (shell scripts) I'd like to be able to be triggered from outside the server. They're non-critical, and there's no risk if someone else gets hold of t...
-
Remote backup trouble
I've got remote backups to Amazon S3 enabled, and I've also disabled retaining backups locally. However, while user accounts seem to be backed up fine, system backups are left on the local drive, a...
-
Block a port on certain IPs using CSF
I've got a server with multiple public-facing IPs, and I'd like certain services to only be bound on certain IPs. Services like SSH and FTP can simply be configured to only bind to a single interfa...
-
Change permanent ModSecuity block to temporary
I'm using mod_security with a subset of the OWASP ruleset, and I'm still getting lots of false positives. Almost every time that happens, the IP responsible gets a permanent block in iptables, whic...
-
IP address troubles
Every couple days, my cPanel server will stop being communicating on one of its IPs. If I look in WHM, the IP isn't listed, but if I try adding it, it says it's already been added. Running /etc/rc....
-
Automatically redirect requests for root domain to www subdomain on all new sites
I'd like to have all new domains include a rule, either in a VirtualHost or a .htaccess, that redirects requests to the root domain (example.com) to a subdomain (www.example.com). Currently, I'm do...
-
Create MySQL user and database with same name as cPanel user
Let's say I have a cPanel user called "example". This user can create MySQL users and databases, provided that they are prefixed with "example_". I'd like to set up a MySQL user called "example" (...
-
Password Strength Confusion
I'd like to be able to require users to have a decently secure password, but the strength meter isn't making any sense. The password "password1" (a terrible password) is rated as 28, while "aiusdlb...