parse apache access log entries to find top user agents, top urls and top IPs

This script will allow you to see the top user agents, urls, IPs for your log files:

 

Script name: ls-httpd

redhat apache start on boot

if you already have apache installed on redhat linux

How to Install Subversion 1.4.6 with Apache 2.2.17_1 on FreeBSD

I was having an issue getting subversion 1.4.6 + apache installed on a freebsd 8.1 system without running in to errors. These instructions should work on any version of freebsd (post 6.01).

Eventually i copied the proper port versions over from a different system and got it all working! Avoid rebuilding subversion from source on . . . → Read More: How to Install Subversion 1.4.6 with Apache 2.2.17_1 on FreeBSD

Howto Fix libaprutil-0.so.9 not found

How to fix these three errors:

You’ll need to use the locate command to see if you can find another copy of those files on your disk then link them to /usr/local/lib/ .

If you cannot locate a copy of them you can install subversion 1.4.6 in a chroot jail or on another freebsd . . . → Read More: Howto Fix libaprutil-0.so.9 not found

Proper way to Rebuild Subversion 1.4.0_1 on FreeBSD 6.1

Here’s some info on the system:

i completely removed apache:

pkg_delete -f apache-2.\*

Then removed these subversion related files:

515 2010-07-10 18:47:59 rm -f /usr/local/lib/libexpat* 516 2010-07-10 18:48:09 rm -f /usr/local/lib/libapr* 517 2010-07-10 18:48:14 rm -f /usr/local/lib/libneon* 518 2010-07-10 18:48:27 rm -f /usr/local/lib/libsvn*

Rebuilt subversion from source, then installed apache from portmaster www/apache22 and . . . → Read More: Proper way to Rebuild Subversion 1.4.0_1 on FreeBSD 6.1

restart apache redhat

/etc/rc.d/init.d/httpd restart

Howto: Fix WP Super Cache Manager Cache Directory Writable Error

Receiving an error like this?

To Fix:

HowTO: Fix Vulnerability “SSLv2 Enabled”

Add the following lines to your httpd.conf:

To Test the Fix (replace 127.0.0.1 with whatever ip you need to test on):

HowTo: Fix Permalinks in WordPress

I totally busted my permalinks… but just fixed it..so I thought i’d share the wealth…

Edit your wordpress.conf and ensure these lines are there

Example of an httpd.conf using bitnami stack in windows server 2003:

Next step is to edit your .htaccess file to look like this:

Go to settings -> permalinks . . . → Read More: HowTo: Fix Permalinks in WordPress