[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 57585] httpd fails to start if there is an IncludeOptional directive to a inexistent directory


--- Comment #6 from Alberto Murillo Silva <powerbsd@xxxxxxxxx> ---
Luca you are right.

In ClearLinux:
IncludeOptional /not/existing/dir/*.conf WORKS
IncludeOptional /not/existing/file.conf  FAILS

I guess both options should work.

Our use case is:
# Virtual hosts
IncludeOptional /usr/share/defaults/httpd/conf.d/*.conf
IncludeOptional /usr/share/defaults/httpd/conf.modules.d/*.conf
IncludeOptional /etc/httpd/conf.d/*.conf
IncludeOptional /etc/httpd/conf.modules.d/*.conf

where /etc/httpd sometimes doesn't exist but the service successfully starts
with the default page.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx