Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev
Include strangeness
 

Index | Next | Previous | View Flat


sf at sfritsch

Jan 22, 2012, 10:14 AM


Views: 173
Permalink
Include strangeness

Apart from the fact that the docs to Include do not match the code and
IncludeOptional is not documented at all, the way Include interacts
with directory wildcards is a bit strange:

I have conf/extra/httpd-userdir.conf and a directory conf/original
(without httpd-userdir.conf in it). This makes


Include conf/*/httpd-userdir.conf

fail with

httpd: Syntax error on line 481 of /usr/local/apache2/conf/httpd.conf:
Could not open configuration file
/usr/local/apache2/conf/original/httpd-userdir.conf: No such file or
directory

even though the whole Include statement does match one file. I think
this makes directory wildcards a lot less useful with Include. Is this
intentional or an implementation quirk? Of course, one can always use
IncludeOptional...


BTW, does anyone have some free cycles to fix the docs?

Subject User Time
Include strangeness sf at sfritsch Jan 22, 2012, 10:14 AM
    Re: Include strangeness covener at gmail Jan 22, 2012, 1:08 PM
    Re: Include strangeness sf at sfritsch Jan 22, 2012, 2:59 PM
    Re: Include strangeness isoma at jellybaby Jan 22, 2012, 3:25 PM
        Re: Include strangeness wrowe at rowe-clan Jan 22, 2012, 7:45 PM
            Re: Include strangeness sf at sfritsch Jan 23, 2012, 8:20 AM
    Re: Include strangeness wrowe at rowe-clan Jan 22, 2012, 7:45 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.