Hot answers tagged

5

You can test this using ab, a software that resides inside apache2-utils package. Example: ab -r -n 100 -c 10 -k -H "Accept-Encoding: gzip, deflate" http://mysite.mydomain.com/ -r: Avoid exiting on socket errors. -n: Number of requests to perform. -c: Number of multiple requests running in concurrency. -k: Enable HTTP KeepAlive. Means it will perform ...


1

change the document root in /etc/httpd/conf/httpd.conf


1

If you have a hostname (e.g. anothersite.com) point to the apache webserver but you haven't explicitely configured a <VirtualHost> section that matches that hostname, then apache will deliver a "best match" (the first ). so if you only have a single <VirtualHost> in your apache config, and multiple hostnames (mysite.com and anothersite.com) ...


1

Usually this fix for me, add these lines into your wp-config.php: define('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com'); where both entries contain your new site address. Restart webserver


1

Simply: yum downgrade httpd-<version-number> The version must be available already in the repository, which you can verify with: yum list --showduplicates httpd You might then encounter dependency problems: an older version of httpd depends on an older package that has been obsoleted. In that case, you must remove the depending packages. If the ...


1

Why do you want that exact version, and not the CentOS version based on 2.2.15 (presumably with backports for bugfixes up to 2.2.(last) and then some)? CentOS is basically recompiled RHEL sources, and as an enterprisey distribution they stay with the base version from the original release of the distribution (itself carefully selected), backporting relevant ...


1

Did you recently upgrade from a previous version of Debian? You may need to change the DocumentRoot to be /var/www/ instead of /var/www/html sudo vim /etc/apache2/sites-available/000-default.conf Change the DocumentRoot, then sudo service apache2 restart Seems that in the new version of Debian the default location has changed Edit: Here is a bug report ...


1

First check to make sure that your server is listening on the port you want, not just local host netstat -plnt Should give you an output similar to this: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN - tcp 0 0 10.0.3.1:53 0.0.0.0:* ...


1

Problem is solved. My apache config as posted above is correct. The problem was a false firewall configuration. Since I didn't change the firewall settings myself I cannot post the actual solution but as said the above apache config works.



Only top voted, non community-wiki answers of a minimum length are eligible