Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-14 Thread Norman Peelman
>- Original Message - >From: Yvo van Doorn >To: users@httpd.apache.org >Sent: Saturday, December 09, 2006 12:34 PM >Subject: Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work > > >Just for my sake, couldn't a '-f /path/to/file' have a

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-09 Thread Yvo van Doorn
Just for my sake, couldn't a '-f /path/to/file' have avoided this problem? On 12/7/06, Norman Peelman <[EMAIL PROTECTED]> wrote: - Original Message - From: "Gaming Mouse" <[EMAIL PROTECTED]> To: Sent: Thursday, December 07, 2006 4:28 AM Su

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Norman Peelman
- Original Message - From: "Gaming Mouse" <[EMAIL PROTECTED]> To: Sent: Thursday, December 07, 2006 4:28 AM Subject: Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work > > > Sounds to me like Apache can't find the httpd.conf file for

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread William A. Rowe, Jr.
Steve Swift wrote: >> The behavior of httpd is to look in ../conf/ so that's probably not it. > > That's as may be, but the OP ran httpd.exe -V and got: > -D SERVER_CONFIG_FILE="conf/httpd.conf" The reason is it's conditional on the CWD - NOT the binary path (argv[0]'ish thing). SO... because

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Steve Swift
The behavior of httpd is to look in ../conf/ so that's probably not it. That's as may be, but the OP ran httpd.exe -V and got: -D SERVER_CONFIG_FILE="conf/httpd.conf" So I maintain that double-clicking on the httpd.exe in the /bin subdirectory will look for /bin/conf/httpd.conf for the configur

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Gaming Mouse
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

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Gaming Mouse
William A. Rowe, Jr. wrote: > >> rogram Fiels\Apache Software Foundation\Apache 2.2 >> > > There should be such a shortcut installed in your Start menu under Apache. > Ok, I tried opening the Apache shortcut in the Start Menu -- still no luck. > > On that subject, to the original poster, a

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Gaming Mouse
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 shortcu

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread William A. Rowe, Jr.
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. The behavior of httpd is to look in ../co

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Flowering Weeds
Does the output of "httpd -V" confirm or refute his theory about httpd.conf not being found? Perhaps use Microsoft's Windows PowerShell to see what the process is really doing. PS> start-service Apache2.2 PS> get-process http* Handles NPM(K)PM(K) WS(K) VM(M) CPU(s) Id Proce

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Steve Swift
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 launch httpd.exe with a work

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Gaming Mouse
> 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

RE: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Boyle Owen
> -Original Message- > From: Gaming Mouse [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 07, 2006 10:28 AM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work > > > > Sounds to me like Apache can

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Gaming Mouse
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

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Steve Swift
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" !) On 07/12/06, Gaming Mouse <[EMAIL PROTECTED]> wrote:

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Gaming Mouse
> 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 "path:/

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-07 Thread Norman Peelman
- Original Message - From: "Gaming Mouse" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 06, 2006 6:36 PM Subject: Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work > > > It sure sounds like you are doing the right things. Try this - once

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-06 Thread Gaming Mouse
> 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

Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-06 Thread William A. Rowe, Jr.
Gaming Mouse wrote: > 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. > DocumentRoot E:/Documents/htdocs/bj > Ok - that much looks good. > I then close the httpd.exe window and reopen it -- to restart apache. > > I have

[EMAIL PROTECTED] Changing DocumentRoot Doesn't Work

2006-12-06 Thread Gaming Mouse
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.