Latest in Apache

Tutorials, howtos, and general web server security & optimization tips about Apache web server under Linux and Unix like operating systems.

How do I create a default robots.txt file for the Apache web-server running on Linux/Unix/MS-Windows server?

{ 1 comment }

I‘m running the Mediawiki software under Apache web server running on the Unix operating systems. I’m getting the following in my php error log:

PHP Fatal error: Cannot redeclare wfProfileIn() (previously declared in /var/www/html/wiki/includes/profiler/Profiler.php:14) in /var/www/html/wiki/includes/ProfilerStub.php on line 25.

How do I fix this problem under Mediawiki version 1.18.0?

{ 3 comments }

How do I a user to the Apache group called www-data under Ubuntu or Debian Linux server operating systems?

{ 0 comments }

My ecommerce site runs using a cluster of Apache web server. The cluster is behind nginx load balancer. I want to merge backend Apache web server log files for statistics purpose. How do I mere web server log files under Linux / UNIX like operating systems using cron jobs?

{ 3 comments }

Our customer support wiki runs on an internal host (ip:192.168.1.100:300, hostname a-node100.:300) and it is behind the nginx reverse proxy server. However, our Apache server end up displaying internal server name http://a-node100.:300/, which results into an unexpected redirection and timeouts as http://a-node100.:300/ is not accessible over the Internet. How do I force nginx or apache to use the base URL of our server (http://support.example.com/wiki/)?

{ 1 comment }

How do I restart the Apache 2 Web Server under Apple OS X UNIX operating systems using bash command prompt?

{ 1 comment }

Recently, we moved all our static assets to a CDN as described here. However, we have over 8000+ old blog posts and we need to point static images url to our CDN account hosted at http://MyACCOUNT.cloudfront.net/images/ folder. How do I rename all image urls stored in wordpress posts? How do I offload static images to a CDN urls under Wordpress?

{ 24 comments }