httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33366] New: - Cannot include varying canned sequences of directives
Date Wed, 02 Feb 2005 18:01:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33366>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33366

           Summary: Cannot include varying canned sequences of directives
           Product: Apache httpd-2.0
           Version: 2.1-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vesely@tana.it


Various features require non-trivial sequences
of configuration directives to work correctly,
e.g. authorizations or rewrite rules.

Sometimes "Include" directive is handy. However,
for virtual hosts it is likely that some keyword
must be altered on a per host (or per directory)
basis. The solution is to use variables that one
assigns before including the file...

I'd propose to augment "Include"'s syntax to be

   Include file-path|directory-path|'|' pipeline

for example:

   Include |sed 's/@@KEYWORD@@/immediate_value/g' conf/generic.conf

where anything after the '|' is sent to a shell
-after chdir(ServerRoot)- whose output is then
parsed as a regular include file.

Cool? Should I submit a (tentative) patch of
ap_process_resource_config?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message