Changes made to httpd config file not taking effect

64-bitapache-2.2configurationwindows 7

I am trying to configure apache on a 64-bit system running Windows 7. I installed apache using a win-32 installer (32-bit installer, which I guess is the reason behind problems). The installation was successful and I can browse to localhost in the browser.

Problem
But, I am not sure where to do the apache config changes. There is one httpd-win file inside \Apache Group\Apache2\conf\ but no httpd.conf file. I did some changes inside the httpd-win file but the changes are not taking effect.

For example I tried to change the port number to fix one problem of apache not starting if skype is already running on my system. I changed the following line –

Listen @@Port@@

to

Listen 8080

But, still if skype is already running, apache does not start. Also, if I type some garbage in the file and restart apache, it works fine. I expected it to not run due to syntax errors.

Is it possible that all these problems are because I installed 32-bit apache on 64 -bit system. I also searched for 64-bit installer but did not find one yet. Can anybody tell me where to find one? Please correct me if I am wrong somewhere.

Best Answer

Sadly I was unable to reproduce this issue with Apache Server 2.0.55, as I only had 2.0.64 available. But to my understanding from what I have observed, httpd-win.conf is not intended as a configuration file. During the Apache Server installation (or when it starts for the first time) the file will be translated into httpd.conf.

Given that that did not seem to have happened in your case, either it is an issue with the 2.0.55 installer or with your installation.

I tried this on an x64 system as well (and with the x86 installer like you described). I don't assume that this is somehow responsible for your issue.

I would recommend reinstalling Apache Server and, if possible, use 2.0.64. As that is the latest version in the 2.0 branch.