Posted by: alex in Errors
The below error will be seen in the ssl_error_log typically located in /var/log/httpd for numerous reasons. Below is an explanation of what two of those reasons might cause Apache to not start and how to resolve the problem.
Error Example:
[Sat Oct 25 22:38:33 2008] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Oct 25 22:38:33 2008] [warn] RSA server certificate CommonName (CN) `server1.example.com’ does NOT match server name!?
Read the rest of this entry »
Tags:
apache,
CommonName,
error_log,
httpd.conf,
HTTPS,
RapidSSL,
ServerName,
SSL,
ssl.conf,
ssl_error_log
No Comments »
Posted by: alex in Insights
There are a couple things that need to be considered when creating an htaccess file to redirect all traffic from a domain to www.domain. Follow the instructions below to make sure you have your bases covered and traffic is redirected properly.
- mod rewrite:Make sure the rewrite_module is being loaded. You should see a line like the following in your apache configuration file (typically /etc/httpd/conf/httpd.conf).
LoadModule rewrite_module modules/mod_rewrite.so
Read the rest of this entry »
Tags: .htaccess, apache, DocumentRoot, httpd.conf, mod_rewrite, rewrite, ReWriteCond, RewriteEngine
No Comments »
Posted by: alex in Errors
This error was displayed in Apache’s error.log after an ISPConfig installation. Initially the problem was thought to be with perl’s DATE::FORMAT however that ended up not being the case. Somehow the httpd.conf file in /etc/httpd/conf/ got corrupted on the LogFormat line as shown below.
corrupt-httpd.conf
LogFormat "%v||||%b|||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig
It should look like this:
httpd.conf
LogFormat "%v %b %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig
So if you are seeing a similar error the problem is more than likely with the LogFormat statement in httpd.conf. Also make sure your vlogger is installed properly by typing “which vlogger”.
Tags:
apache,
httpd.conf,
ISPConfig,
LogFormat,
perl,
vlogger
No Comments »