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

Pages: [1]
1
Apache / 301 redirect
« on: June 25, 2017, 08:47:18 AM »
I have on several websites the following problem, how can i fix it for all the websites or individual websites ?

In order to pass this test you must consider using a 301 re-write rule in your .htaccess file so that both addresses
(http://example.com and http://www.example.com) resolve to the same URL.
- If you want to redirect http://www.example.com to http://example.com, you can use this:
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^/?$ "http\:\/\/example\.com\/" [R=301,L]
- If you want to redirect http://example.com to http://www.example.com, you can use this:
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
Note that you must put the above lines somewhere after RewriteEngine On line.


2
It works, thanks but after rebooting the server, the same problem.

3
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: April 07, 2017, 06:36:22 AM »
solved with:

service mysqld start

thanks.

4
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: April 07, 2017, 06:17:08 AM »
Thanks Administrator, but i have always this error:

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

5
Hi,

I have the same problem.

Any news, any help. No Password changed.

After the cwp upgrade to 188

6
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: April 06, 2017, 10:38:46 AM »
Thanks, it worked. After restarting, and adding cwpro

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

And on the login page:2030/login.php 404 error

7
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: April 06, 2017, 07:34:50 AM »
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 430 of /usr/local/apache/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache/conf.d/ssl.conf: module ssl_module is built-in and can't be loaded
[FAILED]

8
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: April 05, 2017, 06:20:31 PM »
Starting httpd: /bin/bash: /usr/local/apache/bin/httpd: No such file or directory

Please help !

9
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: April 05, 2017, 03:59:58 PM »
Hi,

After the upgrade the system wasn't working. 404 error on the panel / server.

i did the restore, now i have the following error: Impossible to start httpd server

Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 419 of /usr/local/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/apache/conf.d/mod_security.conf: Cannot load modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: ap_log_error
[FAILED]


Pages: [1]