Apache config error
Hello
I tried to testconfig my Apache server and I got this error : Code:
Syntax error on line 1 of -c/-C directives: I have searched all my configuration files for 'onfigtest' pattern but noway . Also I hashed my Include lines to minimize the inputs and I also got this error . Here you are my config file : Code:
ServerTokens OS |
What is the exact command you are using to test your config?
What happens if you use: Code:
httpd -t |
This would be right
Code:
apachectl configtest but your error messages suggests Code:
-configtest |
apachectl -t
|
Try just httpd -t and see what happens.
|
Hello All,
Really all your suggestion helped me . I was using #httpd -configtest And actually it was telling me about the syntax errors I had, so I believed in it ! Now everything is ok using your suggestions , thnx :) |
Quote:
|
All times are GMT -5. The time now is 03:51 PM. |