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

Re: Bug#233538: apache: dotfiles not skipped, scanning /etc/apache/conf.d



severity 233538 wishlist
merge 233538 135717
stop

This is well documented at:

http://httpd.apache.org/docs/mod/core.html#include

"Make sure that an included directory does not contain any stray files,
such as editor temporary files, for example, as Apache will attempt to
read them in and use the contents as configuration directives, which may
cause the server to fail on start up. Running apachectl configtest will
give you a list of the files that are being processed during the
configuration check:"

as well duplicate of 135717.

Fabio

On Wed, 18 Feb 2004, Matthias Urlichs wrote:

> Package: apache
> Version: 1.3.29.0.1-3
> Severity: normal
>
> Restarting Apache doesn't work while editing a configuration file in
> /etc/apache/conf.d:
>
> # /etc/init.d/apache reload
> Configuration syntax error detected. Not reloading.
>
> Processing config directory: /etc/apache/conf.d
>  Processing config file: /etc/apache/conf.d/.ess.swp
> Syntax error on line 1 of /etc/apache/conf.d/.ess.swp:
> Invalid command 'b0VIM', perhaps mis-spelled or defined by a module
> not included in the server configuration
>
> => Please skip dot files.
>
> While you're at it ;-) please also skip files matching '*.dpkg-*'.
>
>

-- 
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.



Reply to: