Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

vhosting on XP - just starting newbe

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  apache wont start  
Author Message
jwp1

External


Since: Apr 23, 2004
Posts: 17



(Msg. 1) Posted: Sat Nov 06, 2004 11:11 pm
Post subject: vhosting on XP - just starting newbe
Archived from groups: alt>apache>configuration (more info?)

I have done the following:

<VirtualHost *:80>
ServerAdmin jwp.RemoveThis@ont.com
DocumentRoot c:\Program Files\Apache Group\Apache2\conf
ServerName www.gjwpp88.com
ErrorLog c:\MyWebs\logs\error
CustomLog c:\MyWebs\logs\access
</VirtualHost>

and

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
127.0.0.1 gjwpp88

and my Apache2 will not start! What have I messed up?

Thanks,

Jerry

 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
jwp1

External


Since: Apr 23, 2004
Posts: 17



(Msg. 2) Posted: Sun Nov 07, 2004 2:31 am
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The following starts!

<VirtualHost *:80>
ServerAdmin jwp RemoveThis @ont.com
DocumentRoot C:\MyWebs
ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com" target="_blank">www.gjwpp88.com</a>
ErrorLog C:\MyWebs\logs\error
# CustomLog C:\MyWebs\logs\access
</VirtualHost>

How do I access it from IE and what do I change to run Perl CGI?

Any ideas what is wrong with the following?

CustomLog C:\MyWebs\logs\access

Thanks,

Jerry

"Gerald Preston" <jwp RemoveThis @ont.com> wrote in message
news:10orbjhioetp105@corp.supernews.com...
 > I have done the following:
 >
 > <VirtualHost *:80>
 > ServerAdmin jwp RemoveThis @ont.com
 > DocumentRoot c:\Program Files\Apache Group\Apache2\conf
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
 > ErrorLog c:\MyWebs\logs\error
 > CustomLog c:\MyWebs\logs\access
 > </VirtualHost>
 >
 > and
 >
 > # Copyright (c) 1993-1999 Microsoft Corp.
 > #
 > # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
 > #
 > # This file contains the mappings of IP addresses to host names. Each
 > # entry should be kept on an individual line. The IP address should
 > # be placed in the first column followed by the corresponding host name.
 > # The IP address and the host name should be separated by at least one
 > # space.
 > #
 > # Additionally, comments (such as these) may be inserted on individual
 > # lines or following the machine name denoted by a '#' symbol.
 > #
 > # For example:
 > #
 > # 102.54.94.97 rhino.acme.com # source server
 > # 38.25.63.10 x.acme.com # x client host
 >
 > 127.0.0.1 localhost
 > 127.0.0.1 gjwpp88
 >
 > and my Apache2 will not start! What have I messed up?
 >
 > Thanks,
 >
 > Jerry
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
jwp1

External


Since: Apr 23, 2004
Posts: 17



(Msg. 3) Posted: Sun Nov 07, 2004 2:48 am
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ping gjwpp88 and every request times out.

Changed gjwpp88 to gjwpp88.com and ping returns data like onig localhost.

Jerry

"Gerald Preston" <jwp DeleteThis @ont.com> wrote in message
news:10orbjhioetp105@corp.supernews.com...
 > I have done the following:
 >
 > <VirtualHost *:80>
 > ServerAdmin jwp DeleteThis @ont.com
 > DocumentRoot c:\Program Files\Apache Group\Apache2\conf
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
 > ErrorLog c:\MyWebs\logs\error
 > CustomLog c:\MyWebs\logs\access
 > </VirtualHost>
 >
 > and
 >
 > # Copyright (c) 1993-1999 Microsoft Corp.
 > #
 > # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
 > #
 > # This file contains the mappings of IP addresses to host names. Each
 > # entry should be kept on an individual line. The IP address should
 > # be placed in the first column followed by the corresponding host name.
 > # The IP address and the host name should be separated by at least one
 > # space.
 > #
 > # Additionally, comments (such as these) may be inserted on individual
 > # lines or following the machine name denoted by a '#' symbol.
 > #
 > # For example:
 > #
 > # 102.54.94.97 rhino.acme.com # source server
 > # 38.25.63.10 x.acme.com # x client host
 >
 > 127.0.0.1 localhost
 > 127.0.0.1 gjwpp88
 >
 > and my Apache2 will not start! What have I messed up?
 >
 > Thanks,
 >
 > Jerry
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 4) Posted: Sun Nov 07, 2004 11:58 am
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Gerald Preston" <jwp.TakeThisOut@ont.com> schreef in bericht
news:10orbjhioetp105@corp.supernews.com...
 > I have done the following:
 >
 > <VirtualHost *:80>
 > ServerAdmin jwp.TakeThisOut@ont.com
 > DocumentRoot c:\Program Files\Apache Group\Apache2\conf
Quote the path to catch the space, like this
DocumentRoot "c:\Program Files\Apache Group\Apache2\conf"

Quite odd to have your root where the config is.

<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
 > ErrorLog c:\MyWebs\logs\error
 > CustomLog c:\MyWebs\logs\access
 > </VirtualHost>
 >
 > and
 > 127.0.0.1 localhost
 > 127.0.0.1 gjwpp88
Right hand side has to match the ServerName
127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com" target="_blank">www.gjwpp88.com</a>

After changing run 'ipconfig /flushdns' to make your system forget any
obsolete values.

 > and my Apache2 will not start!
Next time quote from your error log

 > What have I messed up?
You ran into space ...

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
jwp1

External


Since: Apr 23, 2004
Posts: 17



(Msg. 5) Posted: Sun Nov 07, 2004 11:58 am
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HansH,

Here are the changes I made:

<VirtualHost *:80>
ServerAdmin jwp DeleteThis @ont.com
DocumentRoot "C:\MyWebs\htdocs"
ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com" target="_blank">www.gjwpp88.com</a>
ErrorLog C:\MyWebs\logs\error.log
# CustomLog C:\MyWebs\logs\access.log
</VirtualHost>

and

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com" target="_blank">www.gjwpp88.com</a>

Now I get:

Cannot find server or DNS Error
Internet Explorer

When I try <a style='text-decoration: underline;' href="http://localhost/" target="_blank">http://localhost/</a>

What is wrong with DNS?

Jerry

"HansH" <hans DeleteThis @niet.op.het.net> wrote in message
news:cmkv7j$oas$1@news.cistron.nl...
 > "Gerald Preston" <jwp DeleteThis @ont.com> schreef in bericht
 > news:10orbjhioetp105@corp.supernews.com...
  > > I have done the following:
  > >
  > > <VirtualHost *:80>
  > > ServerAdmin jwp DeleteThis @ont.com
  > > DocumentRoot c:\Program Files\Apache Group\Apache2\conf
 > Quote the path to catch the space, like this
 > DocumentRoot "c:\Program Files\Apache Group\Apache2\conf"
 >
 > Quite odd to have your root where the config is.
 >
<font color=green>  > > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
  > > ErrorLog c:\MyWebs\logs\error
  > > CustomLog c:\MyWebs\logs\access
  > > </VirtualHost>
  > >
  > > and
  > > 127.0.0.1 localhost
  > > 127.0.0.1 gjwpp88
 > Right hand side has to match the ServerName
<font color=purple> > 127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
 >
 > After changing run 'ipconfig /flushdns' to make your system forget any
 > obsolete values.
 >
  > > and my Apache2 will not start!
 > Next time quote from your error log
 >
  > > What have I messed up?
 > You ran into space ...
 >
 > HansH
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
jwp1

External


Since: Apr 23, 2004
Posts: 17



(Msg. 6) Posted: Sun Nov 07, 2004 11:58 am
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HansH,

error.log

[Sat Nov 06 05:08:29 2004] [notice] Parent: Created child process 700
[Sat Nov 06 05:08:29 2004] [notice] Child 700: Child process is running
[Sat Nov 06 05:08:29 2004] [notice] Child 700: Acquired the start mutex.
[Sat Nov 06 05:08:29 2004] [notice] Child 700: Starting 250 worker threads.
[Sat Nov 06 05:19:58 2004] [notice] Parent: Created child process 240
[Sat Nov 06 05:19:58 2004] [notice] Child 240: Child process is running
[Sat Nov 06 05:19:59 2004] [notice] Child 240: Acquired the start mutex.
[Sat Nov 06 05:19:59 2004] [notice] Child 240: Starting 250 worker threads.
[Sat Nov 06 21:29:29 2004] [notice] Parent: Created child process 1864
Warning: DocumentRoot [/www/docs/dummy-host.example.com] does not exist
[Sat Nov 06 21:29:30 2004] [notice] Child 1864: Child process is running
[Sat Nov 06 21:29:30 2004] [notice] Child 1864: Acquired the start mutex.
[Sat Nov 06 21:29:31 2004] [notice] Child 1864: Starting 250 worker threads.
[Sat Nov 06 22:39:38 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sat Nov 06 22:39:38 2004] [notice] Child 1864: Exit event signaled. Child
process is ending.
[Sat Nov 06 22:39:39 2004] [notice] Child 1864: Released the start mutex
[Sat Nov 06 22:39:40 2004] [notice] Child 1864: Waiting for 250 worker
threads to exit.
[Sat Nov 06 22:39:40 2004] [notice] Child 1864: All worker threads have
exited.
[Sat Nov 06 22:39:40 2004] [notice] Child 1864: Child process is exiting
[Sun Nov 07 02:07:47 2004] [notice] Parent: Created child process 2188
[Sun Nov 07 02:07:47 2004] [notice] Child 2188: Child process is running
[Sun Nov 07 02:07:47 2004] [notice] Child 2188: Acquired the start mutex.
[Sun Nov 07 02:07:47 2004] [notice] Child 2188: Starting 250 worker threads.
[Sun Nov 07 02:08:33 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:08:33 2004] [notice] Child 2188: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:08:34 2004] [notice] Child 2188: Released the start mutex
[Sun Nov 07 02:08:35 2004] [notice] Child 2188: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:08:35 2004] [notice] Child 2188: All worker threads have
exited.
[Sun Nov 07 02:08:35 2004] [notice] Child 2188: Child process is exiting
[Sun Nov 07 02:11:19 2004] [notice] Parent: Created child process 844
[Sun Nov 07 02:11:19 2004] [notice] Child 844: Child process is running
[Sun Nov 07 02:11:19 2004] [notice] Child 844: Acquired the start mutex.
[Sun Nov 07 02:11:19 2004] [notice] Child 844: Starting 250 worker threads.
[Sun Nov 07 02:11:39 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:11:39 2004] [notice] Child 844: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:11:40 2004] [notice] Child 844: Released the start mutex
[Sun Nov 07 02:11:41 2004] [notice] Child 844: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:11:41 2004] [notice] Child 844: All worker threads have
exited.
[Sun Nov 07 02:11:41 2004] [notice] Child 844: Child process is exiting
[Sun Nov 07 02:14:58 2004] [notice] Parent: Created child process 4008
[Sun Nov 07 02:14:58 2004] [notice] Child 4008: Child process is running
[Sun Nov 07 02:14:58 2004] [notice] Child 4008: Acquired the start mutex.
[Sun Nov 07 02:14:58 2004] [notice] Child 4008: Starting 250 worker threads.
[Sun Nov 07 02:15:14 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:15:14 2004] [notice] Child 4008: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:15:15 2004] [notice] Child 4008: Released the start mutex
[Sun Nov 07 02:15:16 2004] [notice] Child 4008: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:15:16 2004] [notice] Child 4008: All worker threads have
exited.
[Sun Nov 07 02:15:16 2004] [notice] Child 4008: Child process is exiting
[Sun Nov 07 02:20:41 2004] [notice] Parent: Created child process 284
[Sun Nov 07 02:20:41 2004] [notice] Child 284: Child process is running
[Sun Nov 07 02:20:41 2004] [notice] Child 284: Acquired the start mutex.
[Sun Nov 07 02:20:41 2004] [notice] Child 284: Starting 250 worker threads.
[Sun Nov 07 02:21:07 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:21:07 2004] [notice] Child 284: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:21:07 2004] [notice] Parent: Created child process 1828
[Sun Nov 07 02:21:07 2004] [notice] Child 1828: Child process is running
[Sun Nov 07 02:21:08 2004] [notice] Child 284: Released the start mutex
[Sun Nov 07 02:21:08 2004] [notice] Child 1828: Acquired the start mutex.
[Sun Nov 07 02:21:08 2004] [notice] Child 1828: Starting 250 worker threads.
[Sun Nov 07 02:21:09 2004] [notice] Child 284: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:21:09 2004] [notice] Child 284: All worker threads have
exited.
[Sun Nov 07 02:21:09 2004] [notice] Child 284: Child process is exiting
[Sun Nov 07 02:24:23 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:24:23 2004] [notice] Child 1828: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:24:24 2004] [notice] Child 1828: Released the start mutex
[Sun Nov 07 02:24:25 2004] [notice] Child 1828: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:24:25 2004] [notice] Child 1828: All worker threads have
exited.
[Sun Nov 07 02:24:25 2004] [notice] Child 1828: Child process is exiting
[Sun Nov 07 02:26:56 2004] [notice] Parent: Created child process 5188
[Sun Nov 07 02:26:56 2004] [notice] Child 5188: Child process is running
[Sun Nov 07 02:26:56 2004] [notice] Child 5188: Acquired the start mutex.
[Sun Nov 07 02:26:56 2004] [notice] Child 5188: Starting 250 worker threads.
[Sun Nov 07 02:27:26 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:27:26 2004] [notice] Child 5188: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:27:26 2004] [notice] Parent: Created child process 3428
[Sun Nov 07 02:27:26 2004] [notice] Child 3428: Child process is running
[Sun Nov 07 02:27:27 2004] [notice] Child 5188: Released the start mutex
[Sun Nov 07 02:27:27 2004] [notice] Child 3428: Acquired the start mutex.
[Sun Nov 07 02:27:27 2004] [notice] Child 3428: Starting 250 worker threads.
[Sun Nov 07 02:27:28 2004] [notice] Child 5188: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:27:28 2004] [notice] Child 5188: All worker threads have
exited.
[Sun Nov 07 02:27:28 2004] [notice] Child 5188: Child process is exiting
[Sun Nov 07 02:39:49 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:39:49 2004] [notice] Child 3428: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:39:50 2004] [notice] Parent: Created child process 256
[Sun Nov 07 02:39:50 2004] [notice] Child 3428: Released the start mutex
[Sun Nov 07 02:39:50 2004] [notice] Child 256: Child process is running
[Sun Nov 07 02:39:50 2004] [notice] Child 256: Acquired the start mutex.
[Sun Nov 07 02:39:50 2004] [notice] Child 256: Starting 250 worker threads.
[Sun Nov 07 02:39:51 2004] [notice] Child 3428: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:39:51 2004] [notice] Child 3428: All worker threads have
exited.
[Sun Nov 07 02:39:51 2004] [notice] Child 3428: Child process is exiting
[Sun Nov 07 02:40:35 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:40:35 2004] [notice] Child 256: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:40:35 2004] [notice] Parent: Created child process 5440
[Sun Nov 07 02:40:35 2004] [notice] Child 5440: Child process is running
[Sun Nov 07 02:40:36 2004] [notice] Child 256: Released the start mutex
[Sun Nov 07 02:40:36 2004] [notice] Child 5440: Acquired the start mutex.
[Sun Nov 07 02:40:36 2004] [notice] Child 5440: Starting 250 worker threads.
[Sun Nov 07 02:40:37 2004] [notice] Child 256: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:40:37 2004] [notice] Child 256: All worker threads have
exited.
[Sun Nov 07 02:40:37 2004] [notice] Child 256: Child process is exiting
[Sun Nov 07 02:56:34 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:56:34 2004] [notice] Child 5440: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:56:34 2004] [notice] Parent: Created child process 2468
[Sun Nov 07 02:56:35 2004] [notice] Child 2468: Child process is running
[Sun Nov 07 02:56:35 2004] [notice] Child 2468: Acquired the start mutex.
[Sun Nov 07 02:56:35 2004] [notice] Child 5440: Released the start mutex
[Sun Nov 07 02:56:35 2004] [notice] Child 2468: Starting 250 worker threads.
[Sun Nov 07 02:56:36 2004] [notice] Child 5440: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:56:36 2004] [notice] Child 5440: All worker threads have
exited.
[Sun Nov 07 02:56:36 2004] [notice] Child 5440: Child process is exiting
[Sun Nov 07 02:57:15 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 02:57:15 2004] [notice] Child 2468: Exit event signaled. Child
process is ending.
[Sun Nov 07 02:57:16 2004] [notice] Child 2468: Released the start mutex
[Sun Nov 07 02:57:17 2004] [notice] Child 2468: Waiting for 250 worker
threads to exit.
[Sun Nov 07 02:57:17 2004] [notice] Child 2468: All worker threads have
exited.
[Sun Nov 07 02:57:17 2004] [notice] Child 2468: Child process is exiting
[Sun Nov 07 02:57:24 2004] [notice] Parent: Created child process 4524
[Sun Nov 07 02:57:25 2004] [notice] Child 4524: Child process is running
[Sun Nov 07 02:57:25 2004] [notice] Child 4524: Acquired the start mutex.
[Sun Nov 07 02:57:25 2004] [notice] Child 4524: Starting 250 worker threads.
[Sun Nov 07 05:06:36 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Sun Nov 07 05:06:36 2004] [notice] Child 4524: Exit event signaled. Child
process is ending.
[Sun Nov 07 05:06:37 2004] [notice] Parent: Created child process 4436
[Sun Nov 07 05:06:37 2004] [notice] Child 4436: Child process is running
[Sun Nov 07 05:06:37 2004] [notice] Child 4524: Released the start mutex
[Sun Nov 07 05:06:37 2004] [notice] Child 4436: Acquired the start mutex.
[Sun Nov 07 05:06:37 2004] [notice] Child 4436: Starting 250 worker threads.
[Sun Nov 07 05:06:38 2004] [notice] Child 4524: Waiting for 250 worker
threads to exit.
[Sun Nov 07 05:06:38 2004] [notice] Child 4524: All worker threads have
exited.
[Sun Nov 07 05:06:38 2004] [notice] Child 4524: Child process is exiting


Jerry
"HansH" <hans.RemoveThis@niet.op.het.net> wrote in message
news:cmkv7j$oas$1@news.cistron.nl...
 > "Gerald Preston" <jwp.RemoveThis@ont.com> schreef in bericht
 > news:10orbjhioetp105@corp.supernews.com...
  > > I have done the following:
  > >
  > > <VirtualHost *:80>
  > > ServerAdmin jwp.RemoveThis@ont.com
  > > DocumentRoot c:\Program Files\Apache Group\Apache2\conf
 > Quote the path to catch the space, like this
 > DocumentRoot "c:\Program Files\Apache Group\Apache2\conf"
 >
 > Quite odd to have your root where the config is.
 >
<font color=green>  > > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
  > > ErrorLog c:\MyWebs\logs\error
  > > CustomLog c:\MyWebs\logs\access
  > > </VirtualHost>
  > >
  > > and
  > > 127.0.0.1 localhost
  > > 127.0.0.1 gjwpp88
 > Right hand side has to match the ServerName
<font color=purple> > 127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
 >
 > After changing run 'ipconfig /flushdns' to make your system forget any
 > obsolete values.
 >
  > > and my Apache2 will not start!
 > Next time quote from your error log
 >
  > > What have I messed up?
 > You ran into space ...
 >
 > HansH
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 7) Posted: Sun Nov 07, 2004 9:55 pm
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Gerald Preston" <jwp.DeleteThis@ont.com> schreef in bericht
news:10os0mlklae47c6@corp.supernews.com...
 > Here are the changes I made:
 > <VirtualHost *:80>
 > ServerAdmin jwp.DeleteThis@ont.com
 > DocumentRoot "C:\MyWebs\htdocs"
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
 > ErrorLog C:\MyWebs\logs\error.log
 > # CustomLog C:\MyWebs\logs\access.log
 > </VirtualHost>
 >
 > and
 > 127.0.0.1 localhost
<font color=purple> > 127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
 >
 > Now I get:
 > Cannot find server or DNS Error
 > Internet Explorer
 >
<font color=purple> > When I try <a style='text-decoration: underline;' href="http://localhost/</font" target="_blank">http://localhost/</font</a>>
 >
 > What is wrong with DNS?
Cann't get much chocolate out of this ...
... looks like your browser is auto-appending .com
and as the request never reaches Apache, it's not in the error log.

Something came to mind ... close the editor of the host file, IIRC
DNS-thingy cann't read the open file!


HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
jwp1

External


Since: Apr 23, 2004
Posts: 17



(Msg. 8) Posted: Sun Nov 07, 2004 9:55 pm
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HansH,

Still not working. I am not sure what this means, but the log files under
MyWebs are not updating. Only the log files under Apache2.

Jerry


"HansH" <hans.RemoveThis@niet.op.het.net> wrote in message
news:cmm287$u1a$1@news.cistron.nl...
 > "Gerald Preston" <jwp.RemoveThis@ont.com> schreef in bericht
 > news:10os0mlklae47c6@corp.supernews.com...
  > > Here are the changes I made:
  > > <VirtualHost *:80>
  > > ServerAdmin jwp.RemoveThis@ont.com
  > > DocumentRoot "C:\MyWebs\htdocs"
<font color=green>  > > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
  > > ErrorLog C:\MyWebs\logs\error.log
  > > # CustomLog C:\MyWebs\logs\access.log
  > > </VirtualHost>
  > >
  > > and
  > > 127.0.0.1 localhost
<font color=green>  > > 127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
  > >
  > > Now I get:
  > > Cannot find server or DNS Error
  > > Internet Explorer
  > >
<font color=green>  > > When I try <a style='text-decoration: underline;' href="http://localhost/</font" target="_blank">http://localhost/</font</a>>
  > >
  > > What is wrong with DNS?
 > Cann't get much chocolate out of this ...
 > .. looks like your browser is auto-appending .com
 > and as the request never reaches Apache, it's not in the error log.
 >
 > Something came to mind ... close the editor of the host file, IIRC
 > DNS-thingy cann't read the open file!
 >
 >
 > HansH
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 9) Posted: Sun Nov 07, 2004 11:28 pm
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Gerald Preston" <jwp.TakeThisOut@ont.com> schreef in bericht
news:10otcvarag1nm8d@corp.supernews.com...
 > "HansH" <hans.TakeThisOut@niet.op.het.net> wrote in message
 > news:cmm287$u1a$1@news.cistron.nl...
  > > "Gerald Preston" <jwp.TakeThisOut@ont.com> schreef in bericht
  > > news:10os0mlklae47c6@corp.supernews.com...
   > > > Here are the changes I made:
   > > > <VirtualHost *:80>
   > > > ServerAdmin jwp.TakeThisOut@ont.com
   > > > DocumentRoot "C:\MyWebs\htdocs"
<font color=brown>   > > > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
   > > > ErrorLog C:\MyWebs\logs\error.log
   > > > # CustomLog C:\MyWebs\logs\access.log
   > > > </VirtualHost>
   > > >
   > > > and
   > > > 127.0.0.1 localhost
<font color=brown>   > > > 127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
   > > >
   > > > Now I get:
   > > > Cannot find server or DNS Error
   > > > Internet Explorer
   > > >
<font color=brown>   > > > When I try <a style='text-decoration: underline;' href="http://localhost/</font" target="_blank">http://localhost/</font</a>>
   > > >
   > > > What is wrong with DNS?
  > > Cann't get much chocolate out of this ...
  > > .. looks like your browser is auto-appending .com
  > > and as the request never reaches Apache, it's not in the error log.
  > >
  > > Something came to mind ... close the editor of the host file, IIRC
  > > DNS-thingy cann't read the open file!
 > Still not working. I am not sure what this means, but the log files under
 > MyWebs are not updating. Only the log files under Apache2.
The request do not get to the virtual host configuration and are handle by
the main server.

You do have a
NameVirtualHost *:80
in your config, do you?
( Best place is just above the first <VirtualHost *:80> )

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
jwp1

External


Since: Apr 23, 2004
Posts: 17



(Msg. 10) Posted: Mon Nov 08, 2004 5:08 pm
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HansH,

This is what I have:

### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry
about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster RemoveThis @dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
<VirtualHost *:80>
ServerAdmin jwp RemoveThis @ont.com
DocumentRoot "C:\MyWebs\htdocs"
ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com" target="_blank">www.gjwpp88.com</a>
ErrorLog C:\MyWebs\logs\error.log
# CustomLog C:\MyWebs\logs\access.log
</VirtualHost>

Jerry
"HansH" <hans RemoveThis @niet.op.het.net> wrote in message
news:cmmdbk$9qn$1@news.cistron.nl...
 > "Gerald Preston" <jwp RemoveThis @ont.com> schreef in bericht
 > news:10otcvarag1nm8d@corp.supernews.com...
  > > "HansH" <hans RemoveThis @niet.op.het.net> wrote in message
  > > news:cmm287$u1a$1@news.cistron.nl...
   > > > "Gerald Preston" <jwp RemoveThis @ont.com> schreef in bericht
   > > > news:10os0mlklae47c6@corp.supernews.com...
   > > > > Here are the changes I made:
   > > > > <VirtualHost *:80>
   > > > > ServerAdmin jwp RemoveThis @ont.com
   > > > > DocumentRoot "C:\MyWebs\htdocs"
<font color=brown>   > > > > ServerName <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
   > > > > ErrorLog C:\MyWebs\logs\error.log
   > > > > # CustomLog C:\MyWebs\logs\access.log
   > > > > </VirtualHost>
   > > > >
   > > > > and
   > > > > 127.0.0.1 localhost
<font color=brown>   > > > > 127.0.0.1 <a style='text-decoration: underline;' href="http://www.gjwpp88.com</font" target="_blank">www.gjwpp88.com</font</a>>
   > > > >
   > > > > Now I get:
   > > > > Cannot find server or DNS Error
   > > > > Internet Explorer
   > > > >
<font color=brown>   > > > > When I try <a style='text-decoration: underline;' href="http://localhost/</font" target="_blank">http://localhost/</font</a>>
   > > > >
   > > > > What is wrong with DNS?
   > > > Cann't get much chocolate out of this ...
   > > > .. looks like your browser is auto-appending .com
   > > > and as the request never reaches Apache, it's not in the error log.
   > > >
   > > > Something came to mind ... close the editor of the host file, IIRC
   > > > DNS-thingy cann't read the open file!
  > > Still not working. I am not sure what this means, but the log files
under
  > > MyWebs are not updating. Only the log files under Apache2.
 > The request do not get to the virtual host configuration and are handle by
 > the main server.
 >
 > You do have a
 > NameVirtualHost *:80
 > in your config, do you?
 > ( Best place is just above the first <VirtualHost *:80> )
 >
 > HansH
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
blue_elephant5

External


Since: Jul 07, 2004
Posts: 20



(Msg. 11) Posted: Fri Nov 12, 2004 9:35 am
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Whatever you are doing - have you tested it using a browser other than IE? I
had problems myself running virtual hosts until I figured out it was just
some setting in IE that made the whole thing not work, while it worked fine
with my Mozilla.
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 12) Posted: Fri Nov 12, 2004 1:35 pm
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Thomas Mlynarczyk" <blue_elephant55.DeleteThis@hotmail.com> schreef in bericht
news:cn2djh$c86$04$1@news.t-online.com...
 > Whatever you are doing - have you tested it using a browser other than IE?
I
 > had problems myself running virtual hosts until I figured out it was just
 > some setting in IE that made the whole thing not work, while it worked
fine
 > with my Mozilla.
Those two items at advanced options refering to HTTP1.1 usage must indeed be
tagged to get propper access to a virtual host.

By default HTTP/1.1 is enabled BUT when using a PROXY.

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
blue_elephant5

External


Since: Jul 07, 2004
Posts: 20



(Msg. 13) Posted: Sat Nov 13, 2004 10:42 am
Post subject: Re: vhosting on XP - just starting newbe [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Also sprach HansH:

 > "Thomas Mlynarczyk" <blue_elephant55 DeleteThis @hotmail.com> schreef in bericht
 > news:cn2djh$c86$04$1@news.t-online.com...
  >> Whatever you are doing - have you tested it using a browser other
  >> than IE? I had problems myself running virtual hosts until I figured
  >> out it was just some setting in IE that made the whole thing not
  >> work, while it worked fine with my Mozilla.
 > Those two items at advanced options refering to HTTP1.1 usage must
 > indeed be tagged to get propper access to a virtual host.
 >
 > By default HTTP/1.1 is enabled BUT when using a PROXY.

Actually my problem was that IE tried to go online to get the local site,
even though it was correctly "mentioned" in the hosts file. I had to tell it
never to dial up any connection.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: vhosting on XP - just starting newbe 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Vhosting. - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am in the process of setting up a vhosting server, and would like recommendations on some tools to aid Apache configs for vhosts. What I am looking for is something that will allow the client to make..

Mass vhosting - hey, i want to set up a mass vhost, Here is what i want to do: have no main server(don't know how to disbale it :s) if apache reseves: http://www.xxx.com it will get the cotent of: /data/xxx.com/http if apache reseves: https://www.xxx.com it will get th...

Newbe question Login - Hi.. I have my files uploaded on Apache server into SSL protected folder... when I try to view the page then the Forbidden message appears! I want here to the Login UserName and password dialog ask me! for login. Is this possible? I have plesk contro...

starting apache - have dns and static IP and trying to get apache to run but a dos type error screen comes up with error 32548 (no listening sockets available)?? gone to error logs but they do not pinpoint problem I looking for direction to solve the problem?? running x...

CGI starting and stopping daemons. - I'm writing a CGI app that will provide a user interface to real hardware devices that are part of the server, namely one or more SCSI tape drives. I have a perfectly functional console app that controls the SCSI device the way I want. It writes its pid....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]