httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Eilebrecht <Lars.Eilebre...@unix-ag.org>
Subject [PATCH] Includes/IncludesNOEXEC merging bug
Date Sat, 28 Mar 1998 16:53:32 GMT
Hi,

This config:

 <Directory /foo>
 Options +Includes
 </Directory>

 <Directory /foo/bar>
 Options +IncludesNOEXEC
 
works as expected, but this one

 <Directory /foo>
 Options +IncludesNOEXEC
 </Directory>

 <Directory /foo/bar>
 Options +Includes
 </Directory>

does not, because the extra bit from OPT_INCNOEXEC is always merged
into conf->opts.

The attached patch checks for such a configuration and clears out
that extra bit. If +Includes and +IncludesNOEXEC is used on the
same line the one that appears first will take precedence.

I also added a note about "-Includes" and "-IncludesNOEXEC"
to mod/core.html.


ciao...
-- 
Lars Eilebrecht                          - Brain fried... core dumped.
sfx@unix-ag.org
http://www.home.unix-ag.org/sfx/


Mime
View raw message