PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > Getting to the apache default installation page useing a standard browser
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

Getting to the apache default installation page useing a standard browser

Réponse
 
LinkBack Outils de la discussion
Vieux 18/05/2005, 23h32   #1
julian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Getting to the apache default installation page useing a standard browser

Hi Every one

I want to be able to install mysql, apache and php on my windows XP
Home computer.
I have made some progress and installed apache version 2.0.54 and it is
running happily.
I installed it as a windows service for all users, and the apach server
starts up every time I start up the computer from being switched off.
In the toolbar far right hand side is a circular icon with a feather!
The apache service monitor and you see apache2 with a green light
against it.
However, How do i get to the Apache default installation page using my
browser????

I've tried http://localhost/
http://127.0.0.1 and
http://127.0.0.1:80
Non of them work I just get a page saying the page can not be displayed
cannot find server or dns error.

So whats happening ---- If any one can I would be very graitfull
My computer is running xp home edition service PACK 1,
I do not know how to configure apache to listen to a request made bt
the browser.?????
My computer is using an asdl modem to acces the internet and my service
provider gives out dynamic ip address, So I think that I get a new ip
address every time I connect to the internet---- is that relavent??????

I am very new to Apache and do not really understand much about ports
either so am strugling lots and getting virtually nowhere

Please Please
Ta

  Réponse avec citation
Vieux 18/05/2005, 23h56   #2
Al Dykes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

In article <1116455566.334615.19480@g43g2000cwa.googlegroups. com>,
julian <jkbowler@tiscali.co.uk> wrote:
>Hi Every one
>
>I want to be able to install mysql, apache and php on my windows XP
>Home computer.
>I have made some progress and installed apache version 2.0.54 and it is
>running happily.
>I installed it as a windows service for all users, and the apach server
>starts up every time I start up the computer from being switched off.
>In the toolbar far right hand side is a circular icon with a feather!
>The apache service monitor and you see apache2 with a green light
>against it.
>However, How do i get to the Apache default installation page using my
>browser????
>
>I've tried http://localhost/
>http://127.0.0.1 and
>http://127.0.0.1:80
>Non of them work I just get a page saying the page can not be displayed
>cannot find server or dns error.
>
>So whats happening ---- If any one can I would be very graitfull
>My computer is running xp home edition service PACK 1,
>I do not know how to configure apache to listen to a request made bt
>the browser.?????
>My computer is using an asdl modem to acces the internet and my service
>provider gives out dynamic ip address, So I think that I get a new ip
>address every time I connect to the internet---- is that relavent??????
>
>I am very new to Apache and do not really understand much about ports
>either so am strugling lots and getting virtually nowhere
>
>Please Please
>Ta
>



If you click on the feather a little apache adminapp should open
up. Click on restart and see if the messages look OK.

Find the error and access logs on your system. On my system they are

C:"\Program Files\Apache Group\Apache2\logs\error.log and
C:"\Program Files\Apache Group\Apache2\logs\access.log

Look at the end of these files and see what you see.

I can do a

tail -f C:"\Program Files\Apache Group\Apache2\logs\error.log"

in a cmd box to watch messages scroll by (tail is part of my unix
tools for windows.)


open a cmd box and type

telnet 127.0.0.1 80 <enter>

You should get html spit out.


BTW; You don't have to type "http://" if everything's working, just
127.0.0.1, etc






--
a d y k e s @ p a n i x . c o m

Don't blame me. I voted for Gore.
  Réponse avec citation
Vieux 19/05/2005, 00h12   #3
julian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

my error log says
[Wed May 18 23:00:02 2005] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Wed May 18 23:00:02 2005] [notice] Child 2852: Exit event signaled.
Child process is ending.
[Wed May 18 23:00:03 2005] [notice] Child 2852: Released the start
mutex
[Wed May 18 23:00:04 2005] [notice] Child 2852: Waiting for 250 worker
threads to exit.
[Wed May 18 23:00:04 2005] [notice] Child 2852: All worker threads have
exited.
[Wed May 18 23:00:04 2005] [notice] Child 2852: Child process is
exiting
[Wed May 18 23:00:04 2005] [notice] Parent: Child process exited
successfully.
[Wed May 18 23:00:10 2005] [notice] Apache/2.0.54 (Win32) configured --
resuming normal operations
[Wed May 18 23:00:10 2005] [notice] Server built: Apr 16 2005 14:25:31
[Wed May 18 23:00:10 2005] [notice] Parent: Created child process 4368
[Wed May 18 23:00:10 2005] [notice] Child 4368: Child process is
running
[Wed May 18 23:00:10 2005] [notice] Child 4368: Acquired the start
mutex.
[Wed May 18 23:00:10 2005] [notice] Child 4368: Starting 250 worker
threads.

By that I mean the log at apache2/logs/error

The access log is empty apparently????

thanks lots 4 your reply
Julian

  Réponse avec citation
Vieux 19/05/2005, 00h18   #4
julian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

I tried just opening up the internet browser and typing 127.0.0.1:80
And I got

The page cannot be displayed
The page you are looking for might have been removed or had its name
changed.

--------------------------------------------------------------------------------

Please try the following:

Open the s: home page, and then look for links to the information you
want.

If you typed the page address in the Address bar, make sure that it is
spelled correctly.

If you still cannot open the page, click the Internet Explorer
Search button to look for similar sites.




Internet Explorer


Whats that all about I wonder, and it's interesting that its a diffren
error message / page is'nt it
Ta 4 your reply
Julian

  Réponse avec citation
Vieux 19/05/2005, 00h25   #5
julian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

I tried typing in telnet 127.0.0.1:80 using the comand prompt and I got

connecting to 127.0.01:80 ...could not connect to the host, on port 23:
Connection failed


I thought the the appache server was listnong to port 80, why oh why oh
thy does the telenet message mention port 23
What is port 23 and what is port 80?????
Thanks a lot for your replies
Ta Julian

  Réponse avec citation
Vieux 19/05/2005, 00h31   #6
Al Dykes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

In article <1116458749.314746.220660@g14g2000cwa.googlegroups .com>,
julian <jkbowler@tiscali.co.uk> wrote:
>I tried typing in telnet 127.0.0.1:80 using the comand prompt and I got
>
>connecting to 127.0.01:80 ...could not connect to the host, on port 23:
>Connection failed
>
>
>I thought the the appache server was listnong to port 80, why oh why oh
>thy does the telenet message mention port 23
>What is port 23 and what is port 80?????
>Thanks a lot for your replies
>Ta Julian
>




It's just "127.0.0.1 80"

Windows doesn't have a colon ;-)


--
a d y k e s @ p a n i x . c o m

Don't blame me. I voted for Gore.
  Réponse avec citation
Vieux 19/05/2005, 00h46   #7
julian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

I tried to type in
telenet 127.0.0.1 80
and it came back with
conecting to 127.0.0.1 80 could not connect to the host on port 80:
connection failed

Ta lot for your responces to my problem

Julian

  Réponse avec citation
Vieux 19/05/2005, 08h17   #8
Tim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

On 18 May 2005 16:25:49 -0700,
"julian" <jkbowler@tiscali.co.uk> posted:

> What is port 23 and what is port 80?


Port 23 is the standard port for telnet, port 80 the standard port used for
HTTP (used for web page serving, at least).

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
  Réponse avec citation
Vieux 19/05/2005, 08h25   #9
Tim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

On 18 May 2005 15:32:46 -0700,
"julian" <jkbowler@tiscali.co.uk> posted:

> I want to be able to install mysql, apache and php on my windows XP
> Home computer.
> I have made some progress and installed apache version 2.0.54 and it is
> running happily.
> I installed it as a windows service for all users, and the apach server
> starts up every time I start up the computer from being switched off.
> In the toolbar far right hand side is a circular icon with a feather!
> The apache service monitor and you see apache2 with a green light
> against it.


I haven't looked at that monitoring gadget for a while, but I did find
problems with it in the past. You can start and stop Apache manually, to
be sure it actually is running.

The other thing is whether you installed it to run as a service for all
users, or just one user. If you installed it for just one user, then it
mayn't run if you log in as another user (e.g. you installed as the admin,
set it for just the admin user, then logged in as yourself).

> However, How do i get to the Apache default installation page using my
> browser????
>
> I've tried http://localhost/
> http://127.0.0.1 and
> http://127.0.0.1:80
> Non of them work I just get a page saying the page can not be displayed
> cannot find server or dns error.


Well, when you're using the numerical IP addresses, DNS doesn't come into
it. So stick with using http://127.0.0.1/ while you're testing.

The first thing that springs to mind is whether you're using a firewall
that's blocking access. If you're going to test that by switching off your
firewall, I'd suggest disconnecting from the internet while you do that.
But you should be able to just configure a firewall to allow what you want.

> I do not know how to configure apache to listen to a request made bt
> the browser.?????


I think that you should be fine, by default. At least for doing local
tests.

> My computer is using an asdl modem to acces the internet and my service
> provider gives out dynamic ip address, So I think that I get a new ip
> address every time I connect to the internet---- is that relavent??????


It shouldn't be, as you're trying to connect to it using the local loopback
address, which works internally within the machine.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
  Réponse avec citation
Vieux 19/05/2005, 14h03   #10
Al Dykes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

In article <19y2ier9yydzi$.oc6k2ihmqqld$.dlg@40tude.net>,
Tim <send.no.spam@optusnet.com.au> wrote:
>On 18 May 2005 15:32:46 -0700,
>"julian" <jkbowler@tiscali.co.uk> posted:
>
>> I want to be able to install mysql, apache and php on my windows XP
>> Home computer.
>> I have made some progress and installed apache version 2.0.54 and it is
>> running happily.
>> I installed it as a windows service for all users, and the apach server
>> starts up every time I start up the computer from being switched off.
>> In the toolbar far right hand side is a circular icon with a feather!
>> The apache service monitor and you see apache2 with a green light
>> against it.

>
>I haven't looked at that monitoring gadget for a while, but I did find
>problems with it in the past. You can start and stop Apache manually, to
>be sure it actually is running.
>
>The other thing is whether you installed it to run as a service for all
>users, or just one user. If you installed it for just one user, then it
>mayn't run if you log in as another user (e.g. you installed as the admin,
>set it for just the admin user, then logged in as yourself).
>
>> However, How do i get to the Apache default installation page using my
>> browser????
>>
>> I've tried http://localhost/
>> http://127.0.0.1 and
>> http://127.0.0.1:80
>> Non of them work I just get a page saying the page can not be displayed
>> cannot find server or dns error.

>
>Well, when you're using the numerical IP addresses, DNS doesn't come into
>it. So stick with using http://127.0.0.1/ while you're testing.
>
>The first thing that springs to mind is whether you're using a firewall
>that's blocking access. If you're going to test that by switching off your
>firewall, I'd suggest disconnecting from the internet while you do that.
>But you should be able to just configure a firewall to allow what you want.
>
>> I do not know how to configure apache to listen to a request made bt
>> the browser.?????

>
>I think that you should be fine, by default. At least for doing local
>tests.
>
>> My computer is using an asdl modem to acces the internet and my service
>> provider gives out dynamic ip address, So I think that I get a new ip
>> address every time I connect to the internet---- is that relavent??????

>
>It shouldn't be, as you're trying to connect to it using the local loopback
>address, which works internally within the machine.
>
>--




I had the same idea about firewall problems. If you've got firewall
software on your PC turn it off until you see your test page. Some FW
products block 127.0.0.1 as a bug. In my case I got a popup and I
clicked on "always allow" once I figured out what was going on.

If your PC is behind a dsl router/switch it's safe to turn off the PC
firewall. If you don't have a dsl router then I suggest yanking the
ethernet cable and working off the net until you get apache working.
If you've got XP with Service Pack 2 has it's own software firewall.

You can edit the c:\windows\system32\drivers\etc\hosts file (no file type)
to give your PC a DNS name;

192.168.1.50 srv.nobody.net srv

This means I can ping my PC as "srv" or "srv.nobody.net". Some thinks
you do may require a full host and domain name to work. (nobody.net
is completely local and my own invention. It will never conflict if a
real nobody.net exists in the real world. )

This command

ifconfig /all

will tell you what your machines's IP address is and what the DHCP lifetime is.

--
a d y k e s @ p a n i x . c o m

Don't blame me. I voted for Gore.
  Réponse avec citation
Vieux 31/05/2005, 23h43   #11
julian
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Getting to the apache default installation page useing a standard browser

Many thanks for all the replies on this
I have managed to solve the problem now,
The answer is that you must put in the browser http://127.0.0.1:8080
and there must be no gap between the end of the ip address and the full
colon, and no gap between the full colon and the port number
also you must ensure that apache is listning to port 8080, check this
in the configuration file of apache
all of apache's configuration files are to be found in D:/Program
Files/Apache Group/Apache2/conf
and the one to look at is httpd.conf, in this file it must say Listen
8080 (with no # on that line preceding the word Listen)
Clearly if you have installed apache 2 on the c drive then the apache
files will be in C:/Program Files/Apache Group/Apache2

Very many thanks to everyone

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 14h28.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,19613 seconds with 19 queries