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

Pages: [1]
1
CentOS-WebPanel Bugs / Re: Login: Username too long
« on: June 11, 2018, 07:57:43 AM »
Everything worked until the login checked for username length ...

Linux usernames are not limited by 8 chars anymore (man useradd says: "Usernames may only be up to 32 characters long.").

2
CentOS-WebPanel Bugs / Re: Login: Username too long
« on: June 11, 2018, 07:41:24 AM »
Did not fix the problem.

Username with 6 chars still works, all usernames with 9+ chars don't. I'd guess, someone got the idea to limit the username to 8 chars ...

3
CentOS-WebPanel Bugs / Login: Username too long
« on: June 08, 2018, 02:20:53 PM »
Hi,

Whenever I try to login, I get redirected to the login page without any errors. In chrome's network tab, I can see a a hidden request with the return "username too long".

Can you please disable that check for logins?

4
Apache / Re: magento and apache document root issue
« on: December 12, 2017, 02:18:36 PM »
look into /usr/local/apache/conf.d/vhosts.conf (or vhosts-ssl.conf if you use SSL).

The Part you posted is only the fallback if someone reaches your server via an unconfigured domain/ip.

5
SSL / Re: SSL certificate renew fail ?
« on: December 11, 2017, 09:43:39 AM »
Create a file into /home/gyaro/public_html/.well-known/acme-challenge/ and make sure, you reach in via gyaro.net/.well-known/acme-challenge/<your filename>.

Also look into /root/.acme.sh/acme.sh.log for more details.

6
CentOS Configuration / Re: panel to subdomein
« on: December 11, 2017, 09:30:32 AM »
There are two different ways, each with their flaw:

1. Use ProxyPass in vhosts.conf / vhosts-ssl.conf
Create your Subdomain, edit the vhosts.conf & vhosts-ssl.conf and insert Proxy Rules into the VirtualHost part.
Working Example:
Code: [Select]
ProxyRequests off

ProxyPass         /well-known !
ProxyPass         /     http://<domain>:2083/ disablereuse=on
ProxyPassReverse  /     http://<domain>:2083/
ProxyPreserveHost On

For the SSL part you also need some thing like this:
Code: [Select]
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

Flaw: Each time you rebuild the conf files, your changes get deleted.

#############################################################

2. Use RewriteRule in .htaccess
Create your Subdomain and use a specific folder for it (eg. /homes/user/proxies/cwp)
Put a .htaccess into that Folder containing the RewriteRules.
Working Example:
Code: [Select]
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/\.well\-known/
RewriteRule  (.*)  http://localhost:2082/$1  [P,L]

Flaw: You cannot Use a SSL Backend (I could not use port 2083 in the RewriteRule).

7
Addons / Re: ts3 manager slots
« on: December 11, 2017, 09:08:25 AM »
Teamspeak is installed in /home/ts3.

8
Suggestions / Re: Cwp.user branding logo in CWP.Pro systems.
« on: December 07, 2017, 03:18:41 PM »
That's pretty easy right now:

Just replace /usr/local/cwpsrv/var/services/users/cwp_theme/design/img/cwp_logo.png by the logo you'd like ;)

9
Dovecot / SNI Support
« on: November 29, 2017, 05:10:27 PM »
Hi,

I'm not sure if this belongs here or into the Suggestions Forum ...

Can you add SNI support for Dovecot? (See here )

An easy way to do this would b:
- every time a certificate for a domain gets created, get the mx entry for that domain and add that to the certification request
- creating a sni.conf in /etc/dovecot/ and include that in dovecot.conf
- insert the following code:
Code: [Select]
local_name [MX_FOR_DOMAIN] {
  ssl_cert = </etc/pki/tls/certs/[CERT_FOR_DOMAIN]
  ssl_key = </etc/pki/tls/private/[KEY_FOR_DOMAIN]
}

Pages: [1]