Best Place for Apache Tweaks

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
1,088
Where is the best place for Apache Tweaks?

In the httpd.conf there is the area barred off by DirectAdmin. It does the includes, mostly from extras folder, which I'm guessing they maintain too. So put them in the httpd.conf beneath the area roped off by DirectAdmin to override the defaults read?

Anyone with a better idea?
 
Also interested it in this. Would be nice to have a file included that doesn't get rewritten for tweaking.
 
I guess the "correct" method would be to use httpd-includes.conf, for example:
Code:
$ cat /etc/httpd/conf/extra/httpd-includes.conf 
# All FastCGI directives
Include conf/extra/httpd-fcgi.conf

# All forwarding proxy directives
Include conf/extra/httpd-proxy.conf

# All SVN directives
Include conf/extra/httpd-svn.conf

# All ModSecurity directives
Include conf/extra/httpd-sec.conf

That file, and all the other files I created, never get deleted or modified by DA or CustomBuild.
 
tillo, yes you are right :) I made this file exactly for custom implementations :)
 
I guess the "correct" method would be to use httpd-includes.conf
tillo, yes you are right :) I made this file exactly for custom implementations :)
Perfect! I wondered what the empty file was out there for. I theorized by the name that somehow it would be auto-populated for DA for modules.:D Is that documented somewhere? It will be with what I'm writing if it isn't. Let me guess, it's also editable from somewhere in the admin section of the CP?
 
The comment in httpd.conf for httpd-includes.conf is wrong then. It reads:
# All the other includes needed by the custombuild script

It should read:
# For user configurations not maintained by DirectAdmin. Empty by default.
 
Back
Top