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 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
>Subject: Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work 
>
>
>
>> > 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
>>>t's in the right place or,
>>>
>>> httpd -f "path:/to/config/filename.conf"
>>>
>>> will start Apache with said config file.
>>>
>>>



>>> Looks like you got this working?...
>
>
>>>Norm

That's what I told him to do...

Norm
---
FREE Avatar hosting at www.easyavatar.com


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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
Subject: Re: [EMAIL PROTECTED] Changing DocumentRoot Doesn't Work


>
> > 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:/to/config/filename.conf"
> >
> > will start Apache with said config file.
> >
> >
> > Norm
> > ---
> >
>
> Hey Norm,
>
> Thanks for the reply.  Here is the output of httpd -V.  Can you let me
> know if it is indeed not finding httpd.conf and, if not, how I can fix
> the problem permanently?  Do you recommend adding the -f switch info to
> the shortcut that I use to start httpd.exe?
>
> C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -V
> Server version: Apache/2.2.3
> Server built:   Jul 27 2006 16:49:49
> Server's Module Magic Number: 20051115:3
> Server loaded:  APR 1.2.7, APR-Util 1.2.7
> Compiled using: APR 1.2.7, APR-Util 1.2.7
> Architecture:   32-bit
> Server MPM: WinNT
>   threaded: yes (fixed thread count)
> forked: no
> Server compiled with
>  -D APACHE_MPM_DIR="server/mpm/winnt"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=128
>  -D HTTPD_ROOT="/apache"
>  -D SUEXEC_BIN="/apache/bin/suexec"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_ERRORLOG="logs/error.log"
>  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"
>
>
>


Looks like you got this working?...


Norm
---
FREE Avatar hosting at www.easyavatar.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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 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:/to/config/filename.conf"
> >
> > will start Apache with said config file.
> >
> >
> > Norm
> > ---
> >   
> 
> Hey Norm,
> 
> Thanks for the reply.  Here is the output of httpd -V.  Can you let me 
> know if it is indeed not finding httpd.conf and, if not, how I can fix 
> the problem permanently?  Do you recommend adding the -f switch info to 
> the shortcut that I use to start httpd.exe?
> 
> C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -V
> Server version: Apache/2.2.3
> Server built:   Jul 27 2006 16:49:49
> Server's Module Magic Number: 20051115:3
> Server loaded:  APR 1.2.7, APR-Util 1.2.7
> Compiled using: APR 1.2.7, APR-Util 1.2.7
> Architecture:   32-bit
> Server MPM: WinNT
>   threaded: yes (fixed thread count)
> forked: no
> Server compiled with
>  -D APACHE_MPM_DIR="server/mpm/winnt"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=128
>  -D HTTPD_ROOT="/apache"
>  -D SUEXEC_BIN="/apache/bin/suexec"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_ERRORLOG="logs/error.log"
>  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"
> 
> 
>  


Looks like you got this working?...


Norm
---
FREE Avatar hosting at www.easyavatar.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 double clicking gives you something foolish like your personal
documents tree as current working directory, and not the binaries' path,
this is what causes the hassle.

In fact you could drop a conf/httpd.conf into your personal documents
and settings, and everything would work fine by double-clicking.

Sorry - forgotten that it's current path relative and not relative to
the path of httpd.exe.  And it's a behavior I see no reason to change.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 configuration file.

However, fixing this hasn't apparently fixed the problem, yet I'm sure this
is where it lies.

My shortcut for starting apache has the command as
"C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe" -w -n
"Apache2.2" -k start

With the "Start in:"
"C:\Program Files\Apache Software Foundation\Apache2.2\"


On 07/12/06, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote:


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 ../conf/ so that's probably not it.

> You will have to contsruct a shortcut to launch httpd.exe with a working
> directory of:
> C:\Program Fiels\Apache Software Foundation\Apache 2.2

There should be such a shortcut installed in your Start menu under Apache.

> You cannot do it with a simple double-click.

Not a good idea, no.

On that subject, to the original poster, are you sure you are modifying
the C:\Program Files\Apache Software Foundation\Apache 2.2\conf\httpd.conf
,
and not the httpd.conf.default file we install FOR REFERENCE ONLY?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Steve Swift
http://www.swiftys.org.uk


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


 

Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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, are you sure you are modifying
> the C:\Program Files\Apache Software Foundation\Apache 2.2\conf\httpd.conf,
> and not the httpd.conf.default file we install FOR REFERENCE ONLY?
>   

Yes, I am definitely editing the correct file.   What else could be the 
problem?

Thanks,
Jonah


 

Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 shortcut to launch httpd.exe with a 
> working directory of:
> C:\Program Fiels\Apache Software Foundation\Apache 2.2
>
> Alternatively, you can open a command prompt at that directory and 
> start apache with the command:
> bin\httpd.exe
>

Steve,

This made perfect sense, and I thought this was going to work for sure.  
Unfortunately, I tried both methods you suggested and neither one did 
work. Very frustrating.  Any other ideas?

Thanks,
Jonah


 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 ../conf/ so that's probably not it.

> You will have to contsruct a shortcut to launch httpd.exe with a working
> directory of:
> C:\Program Fiels\Apache Software Foundation\Apache 2.2

There should be such a shortcut installed in your Start menu under Apache.

> You cannot do it with a simple double-click.

Not a good idea, no.

On that subject, to the original poster, are you sure you are modifying
the C:\Program Files\Apache Software Foundation\Apache 2.2\conf\httpd.conf,
and not the httpd.conf.default file we install FOR REFERENCE ONLY?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 ProcessName
---  ---  - -   -- -- ---
59  34 1952   447624 0.09   4180 httpd
   297  23 4964   593687 0.08   4204 httpd

PS> [wmi]"win32_process.handle='4204'" |

select-object name, processid, commandline |
format-list




name: httpd.exe
processid   : 4204
commandline : "C:\Program Files\Apache Software 
Foundation\Apache2.2\bin\httpd.
 exe" -d "C:/Program Files/Apache Software 
Foundation/Apache2.2" -
 f "C:\Program Files\Apache Software 
Foundation\Apache2.2\conf\htt
 pd.conf" -d "C:\Program Files\Apache Software 
Foundation\Apache2.

 2\."

PS> stop-service apache2.2
PS>

_
Get free, personalized commercial-free online radio with MSN Radio powered 
by Pandora http://radio.msn.com/?icid=T002MSN03A07001



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 working
directory of:
C:\Program Fiels\Apache Software Foundation\Apache 2.2

Alternatively, you can open a command prompt at that directory and start
apache with the command:
bin\httpd.exe

You cannot do it with a simple double-click.

On 07/12/06, Gaming Mouse <[EMAIL PROTECTED]> wrote:



> 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 complete path on my machine to both the .exe and the .conf file:

C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe
C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf

Is the "2.2" the problem?  Because if I change "Apache2.2" to "apache",
then when I double-click httpd.exe, the window opens and instantly
closes, and I cannot use apache.

Do I need to re-install?  If so, what should I be sure of when I do?

Thanks,
Jonah





Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Steve Swift
http://www.swiftys.org.uk


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 
the complete path on my machine to both the .exe and the .conf file:

C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe
C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf

Is the "2.2" the problem?  Because if I change "Apache2.2" to "apache", 
then when I double-click httpd.exe, the window opens and instantly 
closes, and I cannot use apache.

Do I need to re-install?  If so, what should I be sure of when I do?

Thanks,
Jonah


 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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'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:/to/config/filename.conf"
> >
> > will start Apache with said config file.
> >
> >
> > Norm
> > ---
> >   
> 
> Hey Norm,
> 
> Thanks for the reply.  Here is the output of httpd -V.  Can 
> you let me 
> know if it is indeed not finding httpd.conf and, if not, how 
> ...
>  -D HTTPD_ROOT="/apache"
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"

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. 

> 
> 
>  
> __
> __
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
> 
> -
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 have not been using a shortcut.  I've been 
double-clicking the httpd.exe file, which resides in this directory:

C:\Program Files\Apache Software Foundation\Apache2.2

And yes, there is indeed a conf subdir below this directory, and that is 
where httpd.conf is located.

My question was for Norm was: Does the output of "httpd -V" confirm or 
refute his theory about httpd.conf not being found? 

Thanks,
Jonah


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:



> 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:/to/config/filename.conf"
>
> will start Apache with said config file.
>
>
> Norm
> ---
>

Hey Norm,

Thanks for the reply.  Here is the output of httpd -V.  Can you let me
know if it is indeed not finding httpd.conf and, if not, how I can fix
the problem permanently?  Do you recommend adding the -f switch info to
the shortcut that I use to start httpd.exe?

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -V
Server version: Apache/2.2.3
Server built:   Jul 27 2006 16:49:49
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM: WinNT
  threaded: yes (fixed thread count)
forked: no
Server compiled with
-D APACHE_MPM_DIR="server/mpm/winnt"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error.log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"





Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Steve Swift
http://www.swiftys.org.uk


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:/to/config/filename.conf"
>
> will start Apache with said config file.
>
>
> Norm
> ---
>   

Hey Norm,

Thanks for the reply.  Here is the output of httpd -V.  Can you let me 
know if it is indeed not finding httpd.conf and, if not, how I can fix 
the problem permanently?  Do you recommend adding the -f switch info to 
the shortcut that I use to start httpd.exe?

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -V
Server version: Apache/2.2.3
Server built:   Jul 27 2006 16:49:49
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM: WinNT
  threaded: yes (fixed thread count)
forked: no
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/winnt"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/apache"
 -D SUEXEC_BIN="/apache/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error.log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 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 the
> > console window should be killing them off.
> >   
> 
> Thanks for your reply William.
> 
> I should have mentioned in my original post that I had already done 
> that, and am still seeing the error.  I even went as far as restarting 
> windows.
> 
> Thanks for any further help,
> Jonah
> 
> 

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:/to/config/filename.conf"

will start Apache with said config file.


Norm
---
FREE Avatar hosting at www.easyavatar.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 the
> console window should be killing them off.
>   

Thanks for your reply William.

I should have mentioned in my original post that I had already done 
that, and am still seeing the error.  I even went as far as restarting 
windows.

Thanks for any further help,
Jonah


 

Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 cleared my cache and tested on 2 different browsers.

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 the
console window should be killing them off.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[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. I have changed the following 2 
lines in my httpd.conf file:

DocumentRoot E:/Documents/htdocs/bj

(I have tried the line above both with and without quotes)



I then close the httpd.exe window and reopen it -- to restart apache.

However, Apache still serves the file from the default htdocs directory, 
rather than the file in "E:/Documents/htdocs/bj"

I have cleared my cache and tested on 2 different browsers.

What am I still missing?

Thanks,
Jonah


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]