I wrote a module in using "freepascal" now apache fails to start. saying specified module cannot be found. the module is in the correct place. \modules\..
I am using Apache 2.2.19 on windows XP.
How can I find out what is happening?
phranque
11:29 pm on Jul 29, 2011 (gmt 0)
have you specified a LoadModule Directive in the server config? http://httpd.apache.org/docs/current/mod/mod_so.html#loadmodule
sir wally lewis
10:19 pm on Jul 31, 2011 (gmt 0)
Yes httpd.conf has my directive in it.
phranque
10:37 pm on Jul 31, 2011 (gmt 0)
have you checked the server error log for messages when you start the server?
sir wally lewis
10:56 pm on Jul 31, 2011 (gmt 0)
Actually I have got past the original problem of apache not starting. by updating to the latest development snapshot of lazarus. Now apache works the first time i call it. but the second time I call it i get the below response. I have googled this, and it seems this may have to do with me using windows XP. I am hoping( crossing my fingers ) that when my network staff give me a linux machine. The problem will just go away.
Kind Regards,
Robert.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> Request header field is missing ':' separator.<br /> <pre> HTTP/1.1 200 OK</pre> </p> </body></html>
brotherhood of LAN
11:07 pm on Jul 31, 2011 (gmt 0)
As phranque pointed out the Apache error log will likely give you a more verbose description of what is causing problems. Typically it resides at /var/log/apache2/error.log
As I said I am hoping this is an XP specific problem.
I shall keep the listed posted on progress.
phranque
11:00 pm on Aug 1, 2011 (gmt 0)
have you tried Live HTTP Headers or a similar browser plugin to inspect the entire HTTP Request including all headers and cookies? do you see the same error when similar requests are made from different browsers?
LynX4DBA
6:39 pm on Aug 3, 2011 (gmt 0)
add %{error-notes}n to your log format string in your Dev/Test environment only .
sir wally lewis
10:57 pm on Aug 3, 2011 (gmt 0)
Apache writes the error log. What section of httpd.conf to update for this?