Bluehost.com Web Hosting $6.95

Apache 2.0.47(Win32) Install

This is a discussion on Apache 2.0.47(Win32) Install within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi All, Am in need of some help, desperately!! I have a WinXP Pro machine and have installed apache_2.0....


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-03-2003
Harvinder Raja
 
Posts: n/a
Default Apache 2.0.47(Win32) Install

Hi All,

Am in need of some help, desperately!!
I have a WinXP Pro machine and have installed
apache_2.0.47-win32-x86-no_ssl.exe.
Install was no probs, put domain name as crap.com and server name as
127.0.0.1 and a bogus email address as the server will never be live.
When I do netstat -ano it tells me the following:

Proto Local Address Forign Address State
PID
TCP 127.0.0.1:80 0.0.0.0:0 LISTENING
1076
TCP 127.0.0.1:80 127.0.0.1:1029 ESTABLISHED 1076
TCP 127.0.0.1:1029 127.0.0.1:80 ESTABLISHED 3268

My error log shows me nothing but notices about starts/stops/restarts, but I
still can't view the "Welcome To Apache Page".
I have changed the port to 8080, I did have McAfee firewall which has now
been removed, and Apache monitor is running happily, but no output.

If anyone has any ideas I will be eternally grateful!

Thanks All,
Harvey (harvey_r01@hotmail.com)


  #2 (permalink)  
Old 08-03-2003
Harvinder Raja
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install


"Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
news:4q0Xa.3$F_1.468@newsfep2-gui.server.ntli.net...
> Hi All,
>
> Am in need of some help, desperately!!
> I have a WinXP Pro machine and have installed
> apache_2.0.47-win32-x86-no_ssl.exe.
> Install was no probs, put domain name as crap.com and server name as
> 127.0.0.1 and a bogus email address as the server will never be live.
> When I do netstat -ano it tells me the following:
>
> Proto Local Address Forign Address State
> PID
> TCP 127.0.0.1:80 0.0.0.0:0 LISTENING
> 1076
> TCP 127.0.0.1:80 127.0.0.1:1029 ESTABLISHED 1076
> TCP 127.0.0.1:1029 127.0.0.1:80 ESTABLISHED 3268
>
> My error log shows me nothing but notices about starts/stops/restarts, but

I
> still can't view the "Welcome To Apache Page".
> I have changed the port to 8080, I did have McAfee firewall which has now
> been removed, and Apache monitor is running happily, but no output.
>
> If anyone has any ideas I will be eternally grateful!
>
> Thanks All,
> Harvey (harvey_r01@hotmail.com)
>
>


----- Reply Message -----

I've even changed the documents root folder and put an index.html page which
says "Thank God!!"
....but no luck, I have removed Apache, deleted the folder and re-installed,
same prob, there must be something tying it up.
Its listening on the right port, but whenever I try to access it, it just
trys to load the page for ages and then responds with page can not be
found...

....HELP...

Cheers All,

Harvey


  #3 (permalink)  
Old 08-03-2003
The Other Guy
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install

On Sun, 3 Aug 2003 16:52:52 +0100, "Harvinder Raja"
<havinder.raja@ntlworld.com> wrote:

>
>"Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
>news:9k9Xa.898$F_1.84429@newsfep2-gui.server.ntli.net...
>>
>> "Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
>> news:4q0Xa.3$F_1.468@newsfep2-gui.server.ntli.net...
>> > Hi All,
>> >
>> > Am in need of some help, desperately!!
>> > I have a WinXP Pro machine and have installed
>> > apache_2.0.47-win32-x86-no_ssl.exe.
>> > Install was no probs, put domain name as crap.com and server name as
>> > 127.0.0.1 and a bogus email address as the server will never be live.
>> > When I do netstat -ano it tells me the following:
>> >
>> > Proto Local Address Forign Address State
>> > PID
>> > TCP 127.0.0.1:80 0.0.0.0:0 LISTENING
>> > 1076
>> > TCP 127.0.0.1:80 127.0.0.1:1029 ESTABLISHED 1076
>> > TCP 127.0.0.1:1029 127.0.0.1:80 ESTABLISHED 3268
>> >
>> > My error log shows me nothing but notices about starts/stops/restarts,

>but
>> I
>> > still can't view the "Welcome To Apache Page".
>> > I have changed the port to 8080, I did have McAfee firewall which has

>now
>> > been removed, and Apache monitor is running happily, but no output.
>> >
>> > If anyone has any ideas I will be eternally grateful!
>> >
>> > Thanks All,
>> > Harvey (harvey_r01@hotmail.com)
>> >
>> >

>>
>> ----- Reply Message -----
>>
>> I've even changed the documents root folder and put an index.html page

>which
>> says "Thank God!!"
>> ...but no luck, I have removed Apache, deleted the folder and

>re-installed,
>> same prob, there must be something tying it up.
>> Its listening on the right port, but whenever I try to access it, it just
>> trys to load the page for ages and then responds with page can not be
>> found...
>>
>> ...HELP...
>>
>> Cheers All,
>>
>> Harvey
>>
>>

>
>
>----- Reply Message -----
>
>One more thing, can you install Apache successfully on a machine in your
>trusted domain? I have a machine connected directly on the net and another
>XP machine in the trusted domain that i'm trying to install Apache onto. Is
>this possible?
>



Hi Harvey,

In reply to your first post re: access problems: 1) try setting the
ServerName to the HostName of your computer, or localhost:80 (not the
IP); and see what the app that is running on that port 80 from the PID
and try shutting it down. Don't forget to restart Apache after making
changes. Hopefully your local hosts file will resolve localhost to
127.0.0.1.

When accessing through port 8080, you should use http://localhost:8080
(just so that you are aware of this).

Make sure that you have SP1 installed for XP.

McAfee has been known to cause issues with Apache. You may need to
ensure that it is completely removed from your machine, not just
turned off or disabled.

Second post: try changing the DirectoryIndex directive in the
httpd.conf to include index.html; e.g.,

DirectoryIndex index.html

Also, make sure to start with that your DocumentRoot is pointed to the
htdocs folder inside the Apache2 directory (where ever you have that
located); use the full path name.

Make sure that you are putting the test index.html page in that htdocs
folder.

Third post: Yes you can put Apache on the trusted machine (this is
akin to having a Intranet). In the ServerName and the Listen
directive, use the IP address of the local machine, which should be
assigned by a router (e.g., 192.168.0.3).

Thanks for your updates and for being patient for a reply. It is quite
likely a simple problem that can be resolved after checking a few
things.

Good luck,
TOG
--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

"If you're not thoroughly confused by now, then you just
don't understand the situation."
  #4 (permalink)  
Old 08-03-2003
Harvinder Raja
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install


"Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
news:RrcXa.1480$F_1.105118@newsfep2-gui.server.ntli.net...
>
> "The Other Guy" <nospam@this.addy> wrote in message
> news:beeqivo95k354h9fpi0opu5ec8a8cjarvq@4ax.com...
> > On Sun, 3 Aug 2003 16:52:52 +0100, "Harvinder Raja"
> > <havinder.raja@ntlworld.com> wrote:
> >
> > >
> > >"Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
> > >news:9k9Xa.898$F_1.84429@newsfep2-gui.server.ntli.net...
> > >>
> > >> "Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
> > >> news:4q0Xa.3$F_1.468@newsfep2-gui.server.ntli.net...
> > >> > Hi All,
> > >> >
> > >> > Am in need of some help, desperately!!
> > >> > I have a WinXP Pro machine and have installed
> > >> > apache_2.0.47-win32-x86-no_ssl.exe.
> > >> > Install was no probs, put domain name as crap.com and server name

as
> > >> > 127.0.0.1 and a bogus email address as the server will never be

live.
> > >> > When I do netstat -ano it tells me the following:
> > >> >
> > >> > Proto Local Address Forign Address State
> > >> > PID
> > >> > TCP 127.0.0.1:80 0.0.0.0:0

LISTENING
> > >> > 1076
> > >> > TCP 127.0.0.1:80 127.0.0.1:1029 ESTABLISHED

> 1076
> > >> > TCP 127.0.0.1:1029 127.0.0.1:80 ESTABLISHED

> 3268
> > >> >
> > >> > My error log shows me nothing but notices about

> starts/stops/restarts,
> > >but
> > >> I
> > >> > still can't view the "Welcome To Apache Page".
> > >> > I have changed the port to 8080, I did have McAfee firewall which

has
> > >now
> > >> > been removed, and Apache monitor is running happily, but no output.
> > >> >
> > >> > If anyone has any ideas I will be eternally grateful!
> > >> >
> > >> > Thanks All,
> > >> > Harvey (harvey_r01@hotmail.com)
> > >> >
> > >> >
> > >>
> > >> ----- Reply Message -----
> > >>
> > >> I've even changed the documents root folder and put an index.html

page
> > >which
> > >> says "Thank God!!"
> > >> ...but no luck, I have removed Apache, deleted the folder and
> > >re-installed,
> > >> same prob, there must be something tying it up.
> > >> Its listening on the right port, but whenever I try to access it, it

> just
> > >> trys to load the page for ages and then responds with page can not be
> > >> found...
> > >>
> > >> ...HELP...
> > >>
> > >> Cheers All,
> > >>
> > >> Harvey
> > >>
> > >>
> > >
> > >
> > >----- Reply Message -----
> > >
> > >One more thing, can you install Apache successfully on a machine in

your
> > >trusted domain? I have a machine connected directly on the net and

> another
> > >XP machine in the trusted domain that i'm trying to install Apache

onto.
> Is
> > >this possible?
> > >

> >
> >
> > Hi Harvey,
> >
> > In reply to your first post re: access problems: 1) try setting the
> > ServerName to the HostName of your computer, or localhost:80 (not the
> > IP); and see what the app that is running on that port 80 from the PID
> > and try shutting it down. Don't forget to restart Apache after making
> > changes. Hopefully your local hosts file will resolve localhost to
> > 127.0.0.1.
> >
> > When accessing through port 8080, you should use http://localhost:8080
> > (just so that you are aware of this).
> >
> > Make sure that you have SP1 installed for XP.
> >
> > McAfee has been known to cause issues with Apache. You may need to
> > ensure that it is completely removed from your machine, not just
> > turned off or disabled.
> >
> > Second post: try changing the DirectoryIndex directive in the
> > httpd.conf to include index.html; e.g.,
> >
> > DirectoryIndex index.html
> >
> > Also, make sure to start with that your DocumentRoot is pointed to the
> > htdocs folder inside the Apache2 directory (where ever you have that
> > located); use the full path name.
> >
> > Make sure that you are putting the test index.html page in that htdocs
> > folder.
> >
> > Third post: Yes you can put Apache on the trusted machine (this is
> > akin to having a Intranet). In the ServerName and the Listen
> > directive, use the IP address of the local machine, which should be
> > assigned by a router (e.g., 192.168.0.3).
> >
> > Thanks for your updates and for being patient for a reply. It is quite
> > likely a simple problem that can be resolved after checking a few
> > things.
> >
> > Good luck,
> > TOG
> > --
> > ./configure --prefix=~/zyterion
> > Not this guy or that guy, The Other Guy.
> >
> > "If you're not thoroughly confused by now, then you just
> > don't understand the situation."

>
> ----- Reply Message -----
>
> Hi TOG,
>
> Thanks for the reply...
>
> I have changed the ServerName to localhost:80
> netstat -ano informs me of one listening port on lcal address: 0.0.0.0:80
> with PID 2796, which is Apache but taskmanager shows 2 apache processes
> running??
> When I try to access http://localhost:80 through IE6 I get max processor
> usage, used by the Apache process but not PID 2796 but the other.
> The page keeps trying to load for a v.long time...
> Does DocumentRoot need to be old DOS names or are long name ok?
> I've left DocumentRoot as default, so i can locate the prob easier without
> changing too many variables.
> DirectoryIndex does include index.html
>
> I have now changed Listen & ServerName directives to 192.168.0.162:80
> netstat -ano shows a listener on 192.168.0.162:80 for the Apache process
> (PID 3784)
> ...but when I type http://192.168.0.162:80 in IE6 it does the exact same.
> Max CPU Usage taken by Apache process but not PID 3784 but the other...
> and http://localhost:80 does the exact same.
>
> ...and local network is using dynamic IPs, but as its using 192.168.0.162,
> which i used in the httpd.conf and didn't restatrt OS but did retart

Apache
> every time.
>
> Any other ideas, its a real puzzle!
>
> Thanks for all your help...
>
> Harvey
>
> P.S XP Pro with SP1 and removed McAfee Firewall
>
>


----- Reply Message -----

I've just discovered that Apache is using MAX processor usage all the time?
Is it conflicting with something?
I did have ColdFusion MX installed but have removed it...

Thanks Again.

Harvey


  #5 (permalink)  
Old 08-03-2003
DvDmanDT
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install

Set ServerName to 'localhost' and Listen to 80... Then comment out ALL
virtual hosting thingys at the bottom of the file, set DocumentRoot to
"C:/www/", scroll down some and see a <Directory
C:/whatever/the/first/docroot/was>... Change to <Directory C:/www>...

1 Create the directory C:/www and place some file in it (don't name it
index.*)...
2 start/restart apache...
3 Try http://localhost/ and see what happends...

Where did you install Apache? I have it in C:/Apache... If the directory
contains a space like program files or something, that may screw things...

I run Apache 1.3.28 on XP home without SP1... Apache 2 always seems to give
me problems..

--
// DvDmanDT
MSN: dvdmandt@hotmail.com
Mail: dvdmandt@telia.com
"Harvinder Raja" <havinder.raja@ntlworld.com> skrev i meddelandet
news:RrcXa.1480$F_1.105118@newsfep2-gui.server.ntli.net...
>
> "The Other Guy" <nospam@this.addy> wrote in message
> news:beeqivo95k354h9fpi0opu5ec8a8cjarvq@4ax.com...
> > On Sun, 3 Aug 2003 16:52:52 +0100, "Harvinder Raja"
> > <havinder.raja@ntlworld.com> wrote:
> >
> > >
> > >"Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
> > >news:9k9Xa.898$F_1.84429@newsfep2-gui.server.ntli.net...
> > >>
> > >> "Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
> > >> news:4q0Xa.3$F_1.468@newsfep2-gui.server.ntli.net...
> > >> > Hi All,
> > >> >
> > >> > Am in need of some help, desperately!!
> > >> > I have a WinXP Pro machine and have installed
> > >> > apache_2.0.47-win32-x86-no_ssl.exe.
> > >> > Install was no probs, put domain name as crap.com and server name

as
> > >> > 127.0.0.1 and a bogus email address as the server will never be

live.
> > >> > When I do netstat -ano it tells me the following:
> > >> >
> > >> > Proto Local Address Forign Address State
> > >> > PID
> > >> > TCP 127.0.0.1:80 0.0.0.0:0

LISTENING
> > >> > 1076
> > >> > TCP 127.0.0.1:80 127.0.0.1:1029 ESTABLISHED

> 1076
> > >> > TCP 127.0.0.1:1029 127.0.0.1:80 ESTABLISHED

> 3268
> > >> >
> > >> > My error log shows me nothing but notices about

> starts/stops/restarts,
> > >but
> > >> I
> > >> > still can't view the "Welcome To Apache Page".
> > >> > I have changed the port to 8080, I did have McAfee firewall which

has
> > >now
> > >> > been removed, and Apache monitor is running happily, but no output.
> > >> >
> > >> > If anyone has any ideas I will be eternally grateful!
> > >> >
> > >> > Thanks All,
> > >> > Harvey (harvey_r01@hotmail.com)
> > >> >
> > >> >
> > >>
> > >> ----- Reply Message -----
> > >>
> > >> I've even changed the documents root folder and put an index.html

page
> > >which
> > >> says "Thank God!!"
> > >> ...but no luck, I have removed Apache, deleted the folder and
> > >re-installed,
> > >> same prob, there must be something tying it up.
> > >> Its listening on the right port, but whenever I try to access it, it

> just
> > >> trys to load the page for ages and then responds with page can not be
> > >> found...
> > >>
> > >> ...HELP...
> > >>
> > >> Cheers All,
> > >>
> > >> Harvey
> > >>
> > >>
> > >
> > >
> > >----- Reply Message -----
> > >
> > >One more thing, can you install Apache successfully on a machine in

your
> > >trusted domain? I have a machine connected directly on the net and

> another
> > >XP machine in the trusted domain that i'm trying to install Apache

onto.
> Is
> > >this possible?
> > >

> >
> >
> > Hi Harvey,
> >
> > In reply to your first post re: access problems: 1) try setting the
> > ServerName to the HostName of your computer, or localhost:80 (not the
> > IP); and see what the app that is running on that port 80 from the PID
> > and try shutting it down. Don't forget to restart Apache after making
> > changes. Hopefully your local hosts file will resolve localhost to
> > 127.0.0.1.
> >
> > When accessing through port 8080, you should use http://localhost:8080
> > (just so that you are aware of this).
> >
> > Make sure that you have SP1 installed for XP.
> >
> > McAfee has been known to cause issues with Apache. You may need to
> > ensure that it is completely removed from your machine, not just
> > turned off or disabled.
> >
> > Second post: try changing the DirectoryIndex directive in the
> > httpd.conf to include index.html; e.g.,
> >
> > DirectoryIndex index.html
> >
> > Also, make sure to start with that your DocumentRoot is pointed to the
> > htdocs folder inside the Apache2 directory (where ever you have that
> > located); use the full path name.
> >
> > Make sure that you are putting the test index.html page in that htdocs
> > folder.
> >
> > Third post: Yes you can put Apache on the trusted machine (this is
> > akin to having a Intranet). In the ServerName and the Listen
> > directive, use the IP address of the local machine, which should be
> > assigned by a router (e.g., 192.168.0.3).
> >
> > Thanks for your updates and for being patient for a reply. It is quite
> > likely a simple problem that can be resolved after checking a few
> > things.
> >
> > Good luck,
> > TOG
> > --
> > ./configure --prefix=~/zyterion
> > Not this guy or that guy, The Other Guy.
> >
> > "If you're not thoroughly confused by now, then you just
> > don't understand the situation."

>
> ----- Reply Message -----
>
> Hi TOG,
>
> Thanks for the reply...
>
> I have changed the ServerName to localhost:80
> netstat -ano informs me of one listening port on lcal address: 0.0.0.0:80
> with PID 2796, which is Apache but taskmanager shows 2 apache processes
> running??
> When I try to access http://localhost:80 through IE6 I get max processor
> usage, used by the Apache process but not PID 2796 but the other.
> The page keeps trying to load for a v.long time...
> Does DocumentRoot need to be old DOS names or are long name ok?
> I've left DocumentRoot as default, so i can locate the prob easier without
> changing too many variables.
> DirectoryIndex does include index.html
>
> I have now changed Listen & ServerName directives to 192.168.0.162:80
> netstat -ano shows a listener on 192.168.0.162:80 for the Apache process
> (PID 3784)
> ...but when I type http://192.168.0.162:80 in IE6 it does the exact same.
> Max CPU Usage taken by Apache process but not PID 3784 but the other...
> and http://localhost:80 does the exact same.
>
> ...and local network is using dynamic IPs, but as its using 192.168.0.162,
> which i used in the httpd.conf and didn't restatrt OS but did retart

Apache
> every time.
>
> Any other ideas, its a real puzzle!
>
> Thanks for all your help...
>
> Harvey
>
> P.S XP Pro with SP1 and removed McAfee Firewall
>
>



  #6 (permalink)  
Old 08-03-2003
The Other Guy
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install

On Sun, 3 Aug 2003 19:24:35 +0100, "Harvinder Raja"
<havinder.raja@ntlworld.com> wrote:

See inline comments for some replies.

>"The Other Guy" <nospam@this.addy> wrote in message
>news:beeqivo95k354h9fpi0opu5ec8a8cjarvq@4ax.com.. .
>> On Sun, 3 Aug 2003 16:52:52 +0100, "Harvinder Raja"
>> <havinder.raja@ntlworld.com> wrote:
>>
>> >
>> >"Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
>> >news:9k9Xa.898$F_1.84429@newsfep2-gui.server.ntli.net...
>> >>
>> >> "Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
>> >> news:4q0Xa.3$F_1.468@newsfep2-gui.server.ntli.net...
>> >> > Hi All,
>> >> >
>> >> > Am in need of some help, desperately!!
>> >> > I have a WinXP Pro machine and have installed
>> >> > apache_2.0.47-win32-x86-no_ssl.exe.
>> >> > Install was no probs, put domain name as crap.com and server name as
>> >> > 127.0.0.1 and a bogus email address as the server will never be live.
>> >> > When I do netstat -ano it tells me the following:
>> >> >
>> >> > Proto Local Address Forign Address State
>> >> > PID
>> >> > TCP 127.0.0.1:80 0.0.0.0:0 LISTENING
>> >> > 1076
>> >> > TCP 127.0.0.1:80 127.0.0.1:1029 ESTABLISHED

>1076
>> >> > TCP 127.0.0.1:1029 127.0.0.1:80 ESTABLISHED

>3268
>> >> >
>> >> > My error log shows me nothing but notices about

>starts/stops/restarts,
>> >but
>> >> I
>> >> > still can't view the "Welcome To Apache Page".
>> >> > I have changed the port to 8080, I did have McAfee firewall which has
>> >now
>> >> > been removed, and Apache monitor is running happily, but no output.
>> >> >
>> >> > If anyone has any ideas I will be eternally grateful!
>> >> >
>> >> > Thanks All,
>> >> > Harvey (harvey_r01@hotmail.com)
>> >> >
>> >> >
>> >>
>> >> ----- Reply Message -----
>> >>
>> >> I've even changed the documents root folder and put an index.html page
>> >which
>> >> says "Thank God!!"
>> >> ...but no luck, I have removed Apache, deleted the folder and
>> >re-installed,
>> >> same prob, there must be something tying it up.
>> >> Its listening on the right port, but whenever I try to access it, it

>just
>> >> trys to load the page for ages and then responds with page can not be
>> >> found...
>> >>
>> >> ...HELP...
>> >>
>> >> Cheers All,
>> >>
>> >> Harvey
>> >>
>> >>
>> >
>> >
>> >----- Reply Message -----
>> >
>> >One more thing, can you install Apache successfully on a machine in your
>> >trusted domain? I have a machine connected directly on the net and

>another
>> >XP machine in the trusted domain that i'm trying to install Apache onto.

>Is
>> >this possible?
>> >

>>
>>
>> Hi Harvey,
>>
>> In reply to your first post re: access problems: 1) try setting the
>> ServerName to the HostName of your computer, or localhost:80 (not the
>> IP); and see what the app that is running on that port 80 from the PID
>> and try shutting it down. Don't forget to restart Apache after making
>> changes. Hopefully your local hosts file will resolve localhost to
>> 127.0.0.1.
>>
>> When accessing through port 8080, you should use http://localhost:8080
>> (just so that you are aware of this).
>>
>> Make sure that you have SP1 installed for XP.
>>
>> McAfee has been known to cause issues with Apache. You may need to
>> ensure that it is completely removed from your machine, not just
>> turned off or disabled.
>>
>> Second post: try changing the DirectoryIndex directive in the
>> httpd.conf to include index.html; e.g.,
>>
>> DirectoryIndex index.html
>>
>> Also, make sure to start with that your DocumentRoot is pointed to the
>> htdocs folder inside the Apache2 directory (where ever you have that
>> located); use the full path name.
>>
>> Make sure that you are putting the test index.html page in that htdocs
>> folder.
>>
>> Third post: Yes you can put Apache on the trusted machine (this is
>> akin to having a Intranet). In the ServerName and the Listen
>> directive, use the IP address of the local machine, which should be
>> assigned by a router (e.g., 192.168.0.3).
>>
>> Thanks for your updates and for being patient for a reply. It is quite
>> likely a simple problem that can be resolved after checking a few
>> things.
>>
>> Good luck,
>> TOG
>> --
>> ./configure --prefix=~/zyterion
>> Not this guy or that guy, The Other Guy.
>>
>> "If you're not thoroughly confused by now, then you just
>> don't understand the situation."

>
>----- Reply Message -----
>
>Hi TOG,
>
>Thanks for the reply...
>
>I have changed the ServerName to localhost:80
>netstat -ano informs me of one listening port on lcal address: 0.0.0.0:80
>with PID 2796, which is Apache but taskmanager shows 2 apache processes
>running??
>When I try to access http://localhost:80 through IE6 I get max processor


Port 80 is a default so you do not need to include the port number if
Apache is set to listen to that port (although if you do, it doesn't
really matter). It is only when you use another port other than the
default that you need to include it in the address.


>usage, used by the Apache process but not PID 2796 but the other.
>The page keeps trying to load for a v.long time...
>Does DocumentRoot need to be old DOS names or are long name ok?


As long as you put double quotes around it; this really pertains to
having spaces in the "variable name"; e.g, DirectoryRoot "C:\Program
Files\...\"
This holds true for _any_ path name!

>I've left DocumentRoot as default, so i can locate the prob easier without
>changing too many variables.


I think that that is a good idea; by default I'm assuming you the
htdocs folder -- this is the normal way that Apache is set up.

>DirectoryIndex does include index.html


Remember that if you have more than one page listed (e.g index.htm
index.html), the one that is at the beginning will be served if you
have two of the pages in the same directory.


>I have now changed Listen & ServerName directives to 192.168.0.162:80
>netstat -ano shows a listener on 192.168.0.162:80 for the Apache process
>(PID 3784)
>...but when I type http://192.168.0.162:80 in IE6 it does the exact same.
>Max CPU Usage taken by Apache process but not PID 3784 but the other...
>and http://localhost:80 does the exact same.



Do a bug search at the Apache web site as I seem to recall something
about this with XP. It is likely another program interfering, IIRC.


>...and local network is using dynamic IPs, but as its using 192.168.0.162,
>which i used in the httpd.conf and didn't restatrt OS but did retart Apache
>every time.
>
>Any other ideas, its a real puzzle!
>
>Thanks for all your help...
>
>Harvey
>
>P.S XP Pro with SP1 and removed McAfee Firewall
>



Make sure you have the router configured properly, as well as any
firewall that you may have enabled.

If nothing else seems to be working, post your httpd.conf file in a
reply (but with all other messages in this thread deleted, please!!!
-- to keep the file size down).

But tell me:

Apache seems to start without errors, correct?

You do not see the "Welcome" page, correct?

You do not want Apache to serve pages on the Internet, but just
locally?

Regards,
TOG
--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

"If you're not thoroughly confused by now, then you just
don't understand the situation."
  #7 (permalink)  
Old 08-04-2003
The Other Guy
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install

On Sun, 3 Aug 2003 22:10:11 +0100, "Harvinder Raja"
<havinder.raja@ntlworld.com> wrote:

<snip earlier posts for brevity>


First, make sure that the local machine (192.168.0.162) has the
firewall to allow access to Apache and the specific port only that it
is listening to (e.g., 80).

Second, ensure that the router doesn't allow incoming requests on port
80 (or the whatever port Apache listens), accept those within the
trusted network.

Make the following changes In your httpd.conf (keep in mind that some
things are optional as to what you include, but I'm a purist):

Listen 127.0.0.1:80
Listen 192.168.0.162:80

ServerName localhost:80

DocumentRoot "C:/apache/Apache2/htdocs"
....
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/apache/Apache2/htdocs">


---end changes---

Everything looks fine to start with for the rest of it. Now try the
following:

In the DocumentRoot folder (C:/apache/Apache2/htdocs), make a folder
called "originals" (e.g., C:/apache/Apache2/htdocs/originals).

Take all of the default installation files that are DocumentRoot and
*move* them to the folder called originals (that gets them out of the
way.

Make the changes to the above in the httpd.conf; restart Apache.

Create an html test page, call it index.html and put in the htdocs
folder (the one that is DocumentRoot).

Open browser: http://localhost should bring up the test page.
http://127.0.0.1 should bring up the test page.
http://192.168.0.162 should bring up the test page.
http://your_external_IP should be blocked.

Good luck on this round.

Try other browsers to see if the same CPU is happening.

Cheers,
TOG
--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

"If you're not thoroughly confused by now, then you just
don't understand the situation."
  #8 (permalink)  
Old 08-04-2003
Harvinder Raja
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install

interestingly, when i put Listen 192.168.0.114:80 (new IP) apache fails to
start but nothing in error logs.
and when i put it back to 127.0.0.1:80, i get max CPU usage, not when i try
to contact localhost but when it loads and stays at max until its stopped??
Running out of ideas...

Cheers for all your help, anything else u can suggest?

Harvey
"The Other Guy" <nospam@this.addy> wrote in message
news:admqivc15p9gb6ott7ba1kmt3hqbfki1h0@4ax.com...
> On Sun, 3 Aug 2003 19:24:35 +0100, "Harvinder Raja"
> <havinder.raja@ntlworld.com> wrote:
>
> See inline comments for some replies.
>
> >"The Other Guy" <nospam@this.addy> wrote in message
> >news:beeqivo95k354h9fpi0opu5ec8a8cjarvq@4ax.com.. .
> >> On Sun, 3 Aug 2003 16:52:52 +0100, "Harvinder Raja"
> >> <havinder.raja@ntlworld.com> wrote:
> >>
> >> >
> >> >"Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
> >> >news:9k9Xa.898$F_1.84429@newsfep2-gui.server.ntli.net...
> >> >>
> >> >> "Harvinder Raja" <havinder.raja@ntlworld.com> wrote in message
> >> >> news:4q0Xa.3$F_1.468@newsfep2-gui.server.ntli.net...
> >> >> > Hi All,
> >> >> >
> >> >> > Am in need of some help, desperately!!
> >> >> > I have a WinXP Pro machine and have installed
> >> >> > apache_2.0.47-win32-x86-no_ssl.exe.
> >> >> > Install was no probs, put domain name as crap.com and server name

as
> >> >> > 127.0.0.1 and a bogus email address as the server will never be

live.
> >> >> > When I do netstat -ano it tells me the following:
> >> >> >
> >> >> > Proto Local Address Forign Address State
> >> >> > PID
> >> >> > TCP 127.0.0.1:80 0.0.0.0:0

LISTENING
> >> >> > 1076
> >> >> > TCP 127.0.0.1:80 127.0.0.1:1029 ESTABLISHED

> >1076
> >> >> > TCP 127.0.0.1:1029 127.0.0.1:80 ESTABLISHED

> >3268
> >> >> >
> >> >> > My error log shows me nothing but notices about

> >starts/stops/restarts,
> >> >but
> >> >> I
> >> >> > still can't view the "Welcome To Apache Page".
> >> >> > I have changed the port to 8080, I did have McAfee firewall which

has
> >> >now
> >> >> > been removed, and Apache monitor is running happily, but no

output.
> >> >> >
> >> >> > If anyone has any ideas I will be eternally grateful!
> >> >> >
> >> >> > Thanks All,
> >> >> > Harvey (harvey_r01@hotmail.com)
> >> >> >
> >> >> >
> >> >>
> >> >> ----- Reply Message -----
> >> >>
> >> >> I've even changed the documents root folder and put an index.html

page
> >> >which
> >> >> says "Thank God!!"
> >> >> ...but no luck, I have removed Apache, deleted the folder and
> >> >re-installed,
> >> >> same prob, there must be something tying it up.
> >> >> Its listening on the right port, but whenever I try to access it, it

> >just
> >> >> trys to load the page for ages and then responds with page can not

be
> >> >> found...
> >> >>
> >> >> ...HELP...
> >> >>
> >> >> Cheers All,
> >> >>
> >> >> Harvey
> >> >>
> >> >>
> >> >
> >> >
> >> >----- Reply Message -----
> >> >
> >> >One more thing, can you install Apache successfully on a machine in

your
> >> >trusted domain? I have a machine connected directly on the net and

> >another
> >> >XP machine in the trusted domain that i'm trying to install Apache

onto.
> >Is
> >> >this possible?
> >> >
> >>
> >>
> >> Hi Harvey,
> >>
> >> In reply to your first post re: access problems: 1) try setting the
> >> ServerName to the HostName of your computer, or localhost:80 (not the
> >> IP); and see what the app that is running on that port 80 from the PID
> >> and try shutting it down. Don't forget to restart Apache after making
> >> changes. Hopefully your local hosts file will resolve localhost to
> >> 127.0.0.1.
> >>
> >> When accessing through port 8080, you should use http://localhost:8080
> >> (just so that you are aware of this).
> >>
> >> Make sure that you have SP1 installed for XP.
> >>
> >> McAfee has been known to cause issues with Apache. You may need to
> >> ensure that it is completely removed from your machine, not just
> >> turned off or disabled.
> >>
> >> Second post: try changing the DirectoryIndex directive in the
> >> httpd.conf to include index.html; e.g.,
> >>
> >> DirectoryIndex index.html
> >>
> >> Also, make sure to start with that your DocumentRoot is pointed to the
> >> htdocs folder inside the Apache2 directory (where ever you have that
> >> located); use the full path name.
> >>
> >> Make sure that you are putting the test index.html page in that htdocs
> >> folder.
> >>
> >> Third post: Yes you can put Apache on the trusted machine (this is
> >> akin to having a Intranet). In the ServerName and the Listen
> >> directive, use the IP address of the local machine, which should be
> >> assigned by a router (e.g., 192.168.0.3).
> >>
> >> Thanks for your updates and for being patient for a reply. It is quite
> >> likely a simple problem that can be resolved after checking a few
> >> things.
> >>
> >> Good luck,
> >> TOG
> >> --
> >> ./configure --prefix=~/zyterion
> >> Not this guy or that guy, The Other Guy.
> >>
> >> "If you're not thoroughly confused by now, then you just
> >> don't understand the situation."

> >
> >----- Reply Message -----
> >
> >Hi TOG,
> >
> >Thanks for the reply...
> >
> >I have changed the ServerName to localhost:80
> >netstat -ano informs me of one listening port on lcal address: 0.0.0.0:80
> >with PID 2796, which is Apache but taskmanager shows 2 apache processes
> >running??
> >When I try to access http://localhost:80 through IE6 I get max processor

>
> Port 80 is a default so you do not need to include the port number if
> Apache is set to listen to that port (although if you do, it doesn't
> really matter). It is only when you use another port other than the
> default that you need to include it in the address.
>
>
> >usage, used by the Apache process but not PID 2796 but the other.
> >The page keeps trying to load for a v.long time...
> >Does DocumentRoot need to be old DOS names or are long name ok?

>
> As long as you put double quotes around it; this really pertains to
> having spaces in the "variable name"; e.g, DirectoryRoot "C:\Program
> Files\...\"
> This holds true for _any_ path name!
>
> >I've left DocumentRoot as default, so i can locate the prob easier

without
> >changing too many variables.

>
> I think that that is a good idea; by default I'm assuming you the
> htdocs folder -- this is the normal way that Apache is set up.
>
> >DirectoryIndex does include index.html

>
> Remember that if you have more than one page listed (e.g index.htm
> index.html), the one that is at the beginning will be served if you
> have two of the pages in the same directory.
>
>
> >I have now changed Listen & ServerName directives to 192.168.0.162:80
> >netstat -ano shows a listener on 192.168.0.162:80 for the Apache process
> >(PID 3784)
> >...but when I type http://192.168.0.162:80 in IE6 it does the exact same.
> >Max CPU Usage taken by Apache process but not PID 3784 but the other...
> >and http://localhost:80 does the exact same.

>
>
> Do a bug search at the Apache web site as I seem to recall something
> about this with XP. It is likely another program interfering, IIRC.
>
>
> >...and local network is using dynamic IPs, but as its using

192.168.0.162,
> >which i used in the httpd.conf and didn't restatrt OS but did retart

Apache
> >every time.
> >
> >Any other ideas, its a real puzzle!
> >
> >Thanks for all your help...
> >
> >Harvey
> >
> >P.S XP Pro with SP1 and removed McAfee Firewall
> >

>
>
> Make sure you have the router configured properly, as well as any
> firewall that you may have enabled.
>
> If nothing else seems to be working, post your httpd.conf file in a
> reply (but with all other messages in this thread deleted, please!!!
> -- to keep the file size down).
>
> But tell me:
>
> Apache seems to start without errors, correct?
>
> You do not see the "Welcome" page, correct?
>
> You do not want Apache to serve pages on the Internet, but just
> locally?
>
> Regards,
> TOG
> --
> ./configure --prefix=~/zyterion
> Not this guy or that guy, The Other Guy.
>
> "If you're not thoroughly confused by now, then you just
> don't understand the situation."



  #9 (permalink)  
Old 08-09-2003
Steve Sutton
 
Posts: n/a
Default Re: Apache 2.0.47(Win32) Install

The Other Guy <nospam@this.addy> wrote:

> Actually, you are quite right about the forward slashes -- my bad -- I
> was thinking too much in DOS mode when I wrote that while working in
> it most of the day. In extreme cases you can, in fact, get away with
> the backslashes if you escape them (e.g., C:\\Program
> Files\\...\\etc.) but that makes it too unwieldy.


agreed.

> You even can mix the slash-style:
>
> LoadModule php4_module C:\php/sapi\php4apache.dll


Well, now that's just being entirely too accomodating :-)

> Indeed, even in DOS, path names can be specified with forward or back
> slashes.


??? It surely couldn't in the DOS I used. That's why I paid to use 4DOS,
so I *could* use forward slashes and it would interpret them properly.

> *nix are forward slashes (hence why we have forward slashes
> with URLs, because the Internet was developed on *nix machines).


Which is what I used all the time at work, which is why I wanted my DOS
command line to let me use forward slashes :-) backward slash meant the
escape character to me.

But in reality, my complaint with backward slashes for path separators in
MS OS's was really only that it's so damn much harder to type than forward
slash - gotta' stretch that little finger way too far :-)

Cheers,
Steve

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0