logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Debug apache 2.4 configuration errors on windows
Author
hudson



Joined: 03 May 2012
Posts: 2
Location: Russian Federation/Moscow

PostPosted: Fri 04 May '12 9:27    Post subject: Debug apache 2.4 configuration errors on windows Reply with quote

Hello!

Tomorrow I've debugged apache 2.4 configuration on my desktop with win7 on board.

Main problem were solved at the night (few little configuration errors, e.g. commented extra ssl configuration include).

But I still have a question: with some types of configuration errors apache display message at startup (or at configuration test). But some errors does not produce any output and pass configuration test. Looks like this:

Code:

> httpd.exe -t

Syntax OK

> httpd.exe

>


No errors, no warn, no logs.

It is possible to get more verbose output to debug configuration?

P.S. I think httpd 2.2 have the same problem, but not test it.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 04 May '12 12:28    Post subject: Reply with quote

more debug info: set LogLevel to debug

If httpd -t comes back syntax ok, cause it does not start at the command line could be because of certain modules. mod_slotmem_shm is known to not work from the command line. mod_auth_digest is another one I know does not work from command line.
Back to top
hudson



Joined: 03 May 2012
Posts: 2
Location: Russian Federation/Moscow

PostPosted: Fri 04 May '12 12:34    Post subject: Reply with quote

glsmith wrote:
more debug info: set LogLevel to debug

If httpd -t comes back syntax ok, cause it does not start at the command line could be because of certain modules. mod_slotmem_shm is known to not work from the command line. mod_auth_digest is another one I know does not work from command line.


"httpd -e debug" display only loaded modules, so logLevel = debug does not help in this case
Back to top


Reply to topic   Topic: Debug apache 2.4 configuration errors on windows View previous topic :: View next topic
Post new topic   Forum Index -> Apache