Sounds to me like Apache can't find the httpd.conf file for some
reason... there should be a command switch to force it to look at a specific
place:
httpd -V
should tell you what config that it has been compiled to look for - make sure
it's in the right place or,
httpd -f
Steve Swift wrote:
Well, before you start playing with your shortcut, is there a conf
subdirectory below the working directory specified in your shortcut,
and does that conf subdirectory contain your configuration file (which
had better be named httpd.conf !)
Up until this point I have
These are the two important lines. Apache was compiled to expect the
config to be at /apache/conf/httpd.conf. Is it?
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
Owen,
What is the initial / relative to? Again, for clarity, I will give
the
Steve Swift wrote:
You said that you were double-clicking the httpd.exe
That would make the current directory:
C:\Program Fiels\Apache Software Foundation\Apache 2.2\bin
so apache would go looking for a conf subdirectory of \bin and not
find it.
You will have to contsruct a shortcut to
William A. Rowe, Jr. wrote:
There should be such a shortcut installed in your Start menu under Apache.
William,
I tried this again, after restarting, and it DID work. That was the
problem. Thanks very much for you help!!
Jonah
I've installed Apache 2.2 as a manual server (ie, I have to open the
httpd.exe command window to use it) on Win XP Pro. The installation
works fine when I visit:
http://localhost:8080
However, I am now trying to change my htdocs root, because I keep all my
data one the E:\ partition of my HD.
It sure sounds like you are doing the right things. Try this - once the
httpd window is closed, look in your Task Manager (rt-click the start bar)
and see that there are no 'apache' or 'httpd' processes running. If there
are, kill them and let us know - terminating the httpd you 'see' in