Getting Apache 2.2 Running on Centos 5

There are always little quirky things that you find along the way in getting things up and running on any system for development or production. One of my development boxes is a Linux 64bit Centos 5 distrobution that I haven’t had much of a chance to play with.

Well today I needed to setup apache 2.2 which I had already installed however when I tried to start apache with httpd start, all I would get is an error related to some error of no such file or directory for some modules that required loading in the http.conf file.

Well after sometime Googling for answers, I found out that in the /etc/ httpd/conf directory there is a file httpd.conf.bak that works right out of the box. Just cp this to httpd.conf and then run /etc/init.d/httpd start and you should find your web server is now up and running.

Check it by opening a browser and going to http://localhost

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

About Robert

Freelance Web Designer Sydney FX Pty Ltd
This entry was posted in Tips. Bookmark the permalink.

Comments are closed.