httpd.conf keeps reverting to a wrong version

sdible

Verified User
Joined
Oct 15, 2004
Messages
52
I keep having this problem where any time that I make a change, or do an update, my httpd.conf file is being overwritten with an older one that has ProxyRequest and it causes apache not to restart. Here is what I see:

Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 50 of /usr/local/directadmin/data/users/username/httpd.conf:
Invalid command 'ProxyRequests', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]

This happens when I try to do an update with custombuild or do some other update.

Today I simply turned off safe mode for one of my domains (via the DA control panel) and it rewrote my httpd.conf files with the wrong one.

Every time this happens, I have to contact my VPS provider for help (they are very quick), but I would like to fix the root cause of the problem.

So.

1. How do I fix the problem short term?

2. How do I prevent the problem from happening again in the future?

Thanks for any ideas and/or help.
 
I went to that directory and used this command

grep "ProxyRequest" *.conf

None of the virtual host files has anything.

Could it be hiding some place else?
 
I don't think that is it either.... I can't find anything about it there.

I'm really stumped on this one, but I'm tired of having to edit all my httpd.conf files every time I do something on the server.
 
Back
Top