0

I've been modifying my server's conf files and when I reload them, it just says there is an error, but it doesn't tell me where the error is. Is there a log file this is recorded to? or how else could I know where the syntax error is coming from?

3
  • You can post your conf (without the comments) Mar 8, 2010 at 22:14
  • 7
    What version of Apache, running on what operating system? apachectl configtest on stock 2.2.x should give you a message of the form Syntax error on line [Line#] of [conf file]:...
    – voretaq7
    Mar 8, 2010 at 22:23
  • I figured out what was wrong, thanks for the responses though.
    – adhanlon
    Mar 12, 2010 at 0:18

1 Answer 1

2

Straight out of the Apache docs:

You can check your configuration files for syntax errors without starting the server by using apachectl configtest or the -t command line option.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .