C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -k start
httpd.exe: Syntax error on line 476 of C:/Program Files/Apache Software Foundati
on/Apache2.2/conf/httpd.conf: Could not open configuration file C:/Program Files
/Apache Software Foundation/Apache2.2/conf/mod-jk.conf: The system cannot find t
he file specified.
i have mod-jk.conf file in the conf directory.
I have the include directive in the httpd.conf file as follows.
# Include mod_jk's specific configuration file
Include conf/mod-jk.conf
Sometimes Apache really dislikes being installed in a location that has spaces in it (e.g. "Program Files"). I'd suggest installing another copy without spaces and see how that works out for you.
I tried your suggestion, but still the same error.
C:\apacheInst\bin>httpd.exe -k start
httpd.exe: Syntax error on line 476 of C:/apacheInst/conf/httpd.conf: Could not
open configuration file C:/apacheInst/conf/mod_jk.conf: The system cannot find t
he file specified.
please reply,
kanwal
hirsch, kanwal
Greenhorn
Joined: Jun 26, 2001
Posts: 13
posted
0
Thanks,
Solved my problem by removing the 'txt' extension of 'mod_jk.conf.txt' in windows.
thanks again.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.