New answers tagged

0

So I found the way to fix it, but I'm not 100% sure why this resolved it. I changed the ServerName from hostname.subdomain.domain:443, to hostname.domain:443. The proper name of the server is hostname.subdomain.domain, but I noticed in the hosts file that the IP for this server has: *IP* hostname hostname.domain Could this be why? Why would the SSL get ...


0

You should not have the port number in the ServerName. Also are you using NameBased virtual hosting? If so don't use default but use * instead. So instead of this: <VirtualHost _default_:443> ServerName hostname.example.com:443 </VirtualHost> have this: NameVirtualHost *:443 <VirtualHost *:443> ServerName hostname.example.com ...


1

This is how to get CGI Perl scripts executing correctly on CentOS 7. I'm leaving this here as it seems a lot of the resources on the internet don't combine the steps and leave people like me very confused. In short this, is what needs to be done. Install software. Create your test CGI file. Ensure the CGI module is loaded. Inside httpd.conf. Change the ...


0

Parts of my answer here may be relevant. We run Apache in a memory-constrained environment and Apache processes used to gradually use up all the available memory. We cured it by reducing the MaxConnectionsPerChild directive to 2500. At our traffic levels this meant child processes were recycled about twice an hour, freeing up the memory they were using. ...


0

Since nobody has yet explained what is going on: Apache cannot bind to the local IP address you gave, because the computer is not configured with that IP address. There are a couple of ways to solve this: You can Listen to an IP address that the computer actually has. But keep in mind that specifying an IP address restricts incoming connections, and only ...


0

in CMD , type: ipconfig, and see your local IP address. then set this one instead of unknown 10.11.12.13:85


0

I had the similar problem, realized that php5 module was commented, which means could not load and in phpmyadmin conf it was giving me errors because of having php_admin_value which probably was working with php5_module and it was not in place. I went to httpd.conf and uncommented: LoadModule php5_module "c:/wamp/bin/php/php5.5.12/php5apache2_4.dll"


0

The issue was a combined problem : the SSD RAID5 delivered speeds of 12,5mb/s on a dd, way below what one would expect (currently : 300-600 mb/s) the firewall also was a bit to strict as the connections got choked to 100/min with a burst of 200/min. (iptables) The VPS got moved to a better IO one, and firewall was not set as strictly and the problem was ...


0

On Centos, there is a good chance that you use "service" utility to manage deamons. Services are configured in directory: /etc/init.d/ In file /etc/init.d/httpd, you will find the pid file location. I see something like pidfile=${PIDFILE-/var/run/httpd/${prog}.pid} So, it turns out that my pidfile is located at /var/run/httpd/httpd.pid


1

With Apache 2.4 you can use the ErrorLogFormat directive. Syntax: ErrorLogFormat [connection|request] format Simple example ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M" Example (default format for threaded MPMs) ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i" Example (similar to the ...



Top 50 recent answers are included