Apache used to work....Now it doesn't

Started by derpinbird, April 26, 2014, 11:33:48 AM

Previous topic - Next topic

derpinbird

Recently ive been trying to tinker around with apache 2.4.9 which downloaded from apachehaus. The first time i downloaded it it ran perfectly fine, giving me the test page when i directed my browser to 127.0.0.1:80. It did give an error though which was >>> httpd.exe: Syntax error on line 39 of D:/Programs/Apache24/conf/httpd.conf: ServerRoot must be a valid directory. It did however just run anyway. After having a mixup and accidentally deleting some files out of the folder i decided to re-extract apache and start again only to find i got the same error only it wouldn't open this time. I cleared this error up by manually specifying the directory on line 39 but the program just keeps moving down the list, finding error after error. I fixed about five before i got frustrated and gave up. Any Ideas?

Chris

derpinbird

Update: Ok i fixed it. I just googled and fixed every error httpd was complaining about and now it runs without any errors at all. I have no idea how it was working in the first place because all of the ${SRVROOT} commands were'nt working and it couldn't find an ssl certificate. Whatever i manually specified all the directories and removed the ssl module thing from the .conf file and everything is dandy.