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.
Pages: [1]
1
E-Mail / Re: Error loading webmail
« on: April 24, 2017, 03:11:45 PM »
This is what I got:
[20-Apr-2017 20:13:55 UTC] PHP Fatal error: Uncaught Error: Class 'Net_IDNA2' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php:405
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(891): idn_to_ascii('localhost')
#1 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(869): rcube_utils::idn_convert('localhost', true)
#2 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(600): rcube_utils::idn_to_ascii('localhost')
#3 /usr/local/cwpsrv/var/services/roundcube/index.php(109): rcmail->login('user@domain...', 'password', 'localhost', true)
#4 {main}
thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php on line 405
[20-Apr-2017 20:13:55 UTC] PHP Fatal error: Uncaught Error: Class 'Net_IDNA2' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php:405
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(891): idn_to_ascii('localhost')
#1 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_utils.php(869): rcube_utils::idn_convert('localhost', true)
#2 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(600): rcube_utils::idn_to_ascii('localhost')
#3 /usr/local/cwpsrv/var/services/roundcube/index.php(109): rcmail->login('user@domain...', 'password', 'localhost', true)
#4 {main}
thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php on line 405
2
Apache / Re: Host redirection
« on: April 20, 2017, 04:08:24 PM »
for some reason the vhost doesn't work for the the host, I went over Apache included conf and edit the hostname.conf, now is working. Thanks.
4
E-Mail / Error loading webmail
« on: April 20, 2017, 12:51:59 AM »
When I try to open webmail (https://host.hostname.com:2031/webmail) I got to the login screen, no matter what I try to login as but after I press login I got an error 500, page isn't working. Any ideas?
7
Apache / Accessing server by IP
« on: April 18, 2017, 09:34:39 PM »Not sure if this is related to enabling mod_security or not... is there a way to block or redirect when accessing the server by IP? at the moment it displays the centos index.html.
8
SSL / Re: Host SSL Centos 7
« on: April 12, 2017, 08:02:09 PM »
Ok, so. This is what I did.
Fresh centos 7 minimal installation with the latest CWP (0.9.8.304)
First I added this.
# vhost_start host.hostname.com
<VirtualHost SERVER-IP:80>
ServerName host.hostname.com
ServerAlias www.host.hostname.com
ServerAdmin xyz@mail.com
DocumentRoot "/usr/local/apache/htdocs/"
<IfModule mod_suexec.c>
SuexecUserGroup nobody nobody
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
<Directory "/usr/local/apache/htdocs">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end host.hostname.com
Restarted apache
Second I installed Letsencrypt and did this:
Domain : host.hostname.com
Path : /usr/local/apache/htdocs/
UserName : nobody
Email : youremail@xyz.com
IP : your Server IP
Port : 443
and this is the error I got now.
Failed authorization procedure. host.hostname.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://host.hostname.com/.well-known/acme-challenge/4k1GJb96Spl1tAjzt-GxQjCxDsSEnWQfsq_pNlxJhxU: "
Fresh centos 7 minimal installation with the latest CWP (0.9.8.304)
First I added this.
# vhost_start host.hostname.com
<VirtualHost SERVER-IP:80>
ServerName host.hostname.com
ServerAlias www.host.hostname.com
ServerAdmin xyz@mail.com
DocumentRoot "/usr/local/apache/htdocs/"
<IfModule mod_suexec.c>
SuexecUserGroup nobody nobody
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup nobody nobody
</IfModule>
<Directory "/usr/local/apache/htdocs">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end host.hostname.com
Restarted apache
Second I installed Letsencrypt and did this:
Domain : host.hostname.com
Path : /usr/local/apache/htdocs/
UserName : nobody
Email : youremail@xyz.com
IP : your Server IP
Port : 443
and this is the error I got now.
Failed authorization procedure. host.hostname.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://host.hostname.com/.well-known/acme-challenge/4k1GJb96Spl1tAjzt-GxQjCxDsSEnWQfsq_pNlxJhxU: "
9
SSL / Re: Host SSL Centos 7
« on: April 12, 2017, 09:39:31 AM »
Thank you for your answer.
What certificate you replaced with? How do I create a valid SSL certificate? Using Letsencrypt or auto ssl now?
Thanks.
What certificate you replaced with? How do I create a valid SSL certificate? Using Letsencrypt or auto ssl now?
Thanks.
10
SSL / Host SSL Centos 7
« on: April 12, 2017, 01:45:34 AM »
How to SSL the host?, I tried several ways and I can't get it done. The wiki page is outdated since /usr/local/cwpsrv/conf.d/cwp-ssl.conf doesn't exist. Also the latest version states not to use letsencrypt and use SSL Cert Manager instead.
Any Ideas or guides on how to get this done?
Thanks.
Any Ideas or guides on how to get this done?
Thanks.
Pages: [1]