Upgrade Xampp 1.7.3 Apache from 2.2.14 to 2.2.15

I’m not sure how many people out there will actually find this but it was posted on Slashdot today that there is a vuln. in Apache 2.2.14 with one of the Modules. This is clearly a problem for people running Xampp on forward facing servers since the Xampp project is only updated so often. As of this writing, Currently Xampp 1.7.3 is out which contains Apache 2.2.14 which as stated before has a vulnerability. I have however come up with a quick little dirty solution to fix or patch Apache 2.2.14 to Apache 2.2.15.

What you will need:

Xampp 1.7.3 installed
Apache 2.2.15 Installer found here : httpd-2.2.15-win32-x86-no_ssl.msi
Or alternatively you can download the mini version from me: Apache2.2.15 Bin+Modules.rar

Before we embark on this journey..

This is the place where everyone puts their generic posting about doing this on your own terms, nothing is different here either. I am making this post to show you what worked for me, and I can say from my point of view, this will work for you as well. I take no responsibility if this doesn’t work for you, blows up your Xampp directory or anything unforeseen. If you are running a server you have backups and know how to make them / restore.

Lets begin..

1.To start off obviously we should back up our Xampp folder. In this tutorial, we actually only need to backup the /apache/ folder of the xampp installation since that’s all we are changing. You can back this up by simply copying it and pasting the folder to a different directory such as your desktop.

2.After backing up the /xampp/apache/ directory we will then get our new apache install squared away.

To do this, either download the Apache 2.2.15 installer listed above (see 2.a for steps), or the .rar file from my server (If you are doing this, go to  3).

2.a Installing Apache 2.2.15 from site. | Download the installer and run it.

2.b The Main installation wizard will appear, Click Next

Click Next

2.c Select ‘I accept the terms in the license agreement‘, then Click Next

Select 'I accept the terms in the license agreement', then Click Next

2.d Click Next

Click Next

2.e The server information screen will appear, As we are using the configuration settings from our current Xampp 1.7.3, we will just enter in the following, then Click Next:

Network Domain : localhost
Server Name : localhost
Administrator’s Email Address : test@test.com

Enter in the info, Click Next

2.f The Setup Type screen will appear, Choose Typical (Will be selected by default) and Click Next

Select Typical, Click Next

2.g Click Install

Click Install

2.h After the program is installed, Click Finish

Click Finish

3. Now that we have it installed, we have the new files we need. Go to the place you installed Apache ( default  C:\Program Files\Apache Software Foundation\Apache2.2/ ) (or the .rar file provided above) and highlight the bin and modules folder, and right click and then go to copy. (Or obviously, if you have the .rar, continue to the next step)

Copy Bin and Modules

4. Next, remote in or access your Xampp directory (remember PLEASE backup before doing this step) Go into the Apache folder and paste in the two folders you copied before. (or extract)

** You will be prompted to overwrite the files, say Yes to any dialog boxes that appear. **

Paste the files into /xampp/apache/

5. After the files are over-written, go into xampp control panel and restart the apache service. ** IT WILL FAIL TO START ** This is normal. What I did was tracked down the error in the \logs\error.log and saw that it reads :

Syntax error on line 122 of C:/xampp/apache/conf/extra/httpd-xampp.conf:
The specified IP address is invalid.

6. To fix this, go into the xampp/apache/conf/extra/httpd-xampp.conf  With notepad or your preferred text editor and go to the bottom. You will see the following:

7. Highlight and replace the text with a slightly modified version, clearly you can also modify this for your own network. The new config file for my network looks like:

Fixed allow code

8. Save the file and Start apache and it should now run with version 2.2.15 with all of your previous configs still intact.

Creating a New Partition in Unallocated Space

This is a basic tutorial on how to add or create a new partition in unallocated space in Windows XP. You would generally do this when you have added in a new hard drive that is not formatted, or was formatted in a way where it has unallocated space (perhaps put there to expand a drive in the future)

- -

  1. Open up the MMC (Click Start > Run, Type in mmc, Hit enter)
  2. Add the disk management snap-in
  3. Right click on the un partitioned space
  4. The window will appear, click on next after reading the screen
  5. Check Primary partition, hit next
  6. Enter the size of the partition, verify the size and hit next
  7. Select the Drive letter that you wish to assign
  8. Hit next after verify the correct drive letter
  9. Select the correct settings (NTFS and Volume Name)  And hit next
  10. Verify the settings and hit finish.

Lightning Strikes..

So this happend about a block or two away from where I live, and before you ask, Yes.. It was loud!

As you can see lightning struck this tree.. resulting in a very big kaboom. My guess is the tree was very damp from all of the rain we were having, got struck and the water inside of the tree was superheated and expanded so fast that it blew the tree into very tiny pieces!

Okay! Its time!

So, I’m finally settling in at work after a good 2-3 weeks on the job, so im comfortable at saying I -AM- going to have time to put the effort and work into this site :-). The first round of things that you will see is a Tutorial / Documentation aspect of the site come into play, I am a strong believer in sharing information.. and if I learn something.. I would be more than happy with sharing my knowledge and passing it on to you. Whether it will help you out whilst you do this is your call, but I can promise that I will only put the most factual and true information on my site for you, my readers.

Time to fire up the laptop with documentation from all of my classes :-). See ya later!

New look!

So as you can see, we have a new look about! Kinda spiffy huh? I am toying around with the idea of keeping it like this.. My classes are finally out and I have *Gulp* graduated.. Yep, you heard it right! I am now a certified Networking geek. Now that I have more free time on my hands, you will see new additions to the site regularly, including a new gallery perhaps.. many many windows related tutorials *yay* and other misc stuff that I havnt thought of!

Still alive..

To the three monthly visitors, let it be known im still alive.. just busy with schoolwork and the likes.. content will come shortly.. perhaps in May or June! see you then

It Lives!

Ahh CraigS.be is alive  >=]  

What was once a product of a bored thought now has come to life..  The pages within at the moment are blank.. but only for now :)