3

I know apachectl has the configtest option, but as far as I can tell it's only for checking the entire config chain for the system apache. I would like to have a tool that can test an individual .htaccess file for errors as part of a continuous integration toolchain. Is there any way to do that with or without apachectl?

neo
  • 203
kojiro
  • 559
  • 3
  • 8
  • 25

1 Answers1

1

I came across few online tools to validate .htaccess Syntax/Directives and few basic things htaccess-validator and code syntax checker and validator.

PS: To narrow down analyses/error and speed up validation, limit the no. of Directives while validation.

Mayura
  • 111