Apache

Apache mod_proxy '[error] (13)Permission denied' error on RHEL

Had an interesting issue today working on a mod_proxy setup of Apache forwarding requests in a reverse proxy setup to a backend Tomcat server. No matter what I did, I kept getting this in Apache's error log:

[error] (13)Permission denied: proxy: AJP: attempt to connect to 10.x.x.x:7009 (virtualhost.virtualdomain.com) failed
0
Your rating: None

Ask SAJ: What to do with Apache logs > 50GB?

Our site at $work is generating Apache logs that, when combined sequentially into one file, are larger than 50GB in size for one day's worth of traffic. AWStats' perl script pretty much chokes when working on this much data. Last I checked, Webalizer wasn't much different, and probably wouldn't scale up to that amount of data either. Does anyone out there have any advice on a commercial solution for Apache log analysis that can scale up like that?

0
Your rating: None

Tip for "Split Components Across Domains" Performance Goal from Yahoo!

Just thought I'd pass this little tidbit out there - we fixed it by pure luck on the first try.

Yahoo unselfishly provides a document titled Best Practices for Speeding Up Your Website. While some of the rules offered there aren't applicable for all sites, it's a great document and if you run a website, you should read it.

At $work, part of our last code drop was to push out a feature that enabled "Split Components Across Domains". From the article Performance Research, Part 4: Maximizing Parallel Downloads in the Carpool Lane:

Our rule of thumb is to increase the number of parallel downloads by using at least two, but no more than four hostnames. Once again, this underscores the number one rule for improving response times: reduce the number of components in the page.

I'm here to tell you, if you have AOL users surfing your site, do not use four hostnames.

0
Your rating: None

Apache 2.2.12 - 2.2.13 and Solaris 10 Bug Nastiness

At work, I've been working on an upgrade from a custom-compiled version of Apache 2.0.x to the Sun-provided Glassfish Webstack 1.5.  I spent about a week troubleshooting what I thought was configuration issue, only to finally find it's a bug way upstream in Apache 2.2.12+.  This bug only affects Solaris 10, and is near-impossible to reproduce.  If you use Solaris 10 and Apache, read on so you don't waste a week of your life like I did.

4
Your rating: None Average: 4 (1 vote)

Forcing Apache's mod_deflate module to compress JSP's from Weblogic

This is one of those "note for myself, and maybe it will help someone else" posts.  When you use Apache and mod_weblogic as a frontend to a WebLogic application server, you will likely want to compress your output.  It makes sense to put the load of compression on the webservers, since the application servers are busy doing other things.

5
Your rating: None Average: 5 (1 vote)

Backup LAMP Stacks with LVM Snapshots

I've done a lot with LVM in the past, but up until now had never really played around with LVM snapshots. I recently used LVM snapshots to implement a "hot backup" of my LAMP stack running this blog. I quote "hot backup" because, while mysql is indeed running, I do have to place a read lock on all tables for a second or two. You don't need to do this if you're using Innodb, but you do if you use the MyISAM engine (which Drupal does by default).

4
Your rating: None Average: 4 (1 vote)

Reporting Chrome usage via AWStats

AWStats is a great tool to analyze your Apache logs. Unless you've been living under a rock, there's a new browser in town - Chrome. Until you tell AWStats how to break it out for you, you won't see any statistics for it. Read on for how to modify AWStats so that it can detect the Chrome browser.

3
Your rating: None Average: 3 (1 vote)

Mozilla Weave Setup on CentOS 5.2

Mozilla Weave is a project from Mozilla Labs that aims to keep all of your browser data synced between all of your PC's.  The now defunct Google Browser Sync used to do this, as does Foxmarks.  Although Weave is still in it's infancy, it's been very promising thus far.  However, many of the users of Mozilla's own Weave server complain that the service is very slow.  The beauty of Weave is that it uses the standard protocol WebDAV to sync it's data.  Why does that matter?  Because our good 'ol buddy Apache can speak WebDAV out-of-the box!  Follow the jump to find out how you can setup your own server that you can sync to.

0
Your rating: None

Quick & Easy Apache SSL on CentOS

Follow the jump to find out how you can quickly and easily setup your own SSL certificate and install it into Apache on CentOS/RHEL.

5
Your rating: None Average: 5 (1 vote)

Simple & Effective Apache+MySQL Backups for your Blog/CMS

As part of setting up my new Linode host, I needed a quick, easy, and maintanable way to create backups of my LAMP webapps.  Follow the jump to see how I set up my backup strategy.

0
Your rating: None
Syndicate content