LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Apache Module Server config versus Dir Config (https://www.linuxquestions.org/questions/programming-9/apache-module-server-config-versus-dir-config-4175436819/)

kenneth_phough 11-12-2012 01:51 PM

Apache Module Server config versus Dir Config
 
Hi,

I am currently writing a apache module and ran into a question that I can't find a definitive answer to.

I have one structure called cfg which holds my configs that I read from either the server config (httpd.conf) or dir config (.htaccess). For example, I have TestSessionTimeout as one of the configs that can be placed in httpd.conf or a .htaccess. If an .htaccess is present I want my module to use that instead of the httpd.conf, however, will my directory configuration permanently override my server config until I restart the server?

If so I can use a placeholder variable so that's not a problem but less variables would be nicr ;)

Thanks in advance,
Ken


All times are GMT -5. The time now is 08:05 PM.