PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Unable to browse my Apache server internally...
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Unable to browse my Apache server internally...

Réponse
 
LinkBack Outils de la discussion
Vieux 23/05/2007, 04h31   #1
sebz2006@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Unable to browse my Apache server internally...

G'day.
I've set my main PC with Apache 2.2.4, PHP 5.2.0 and MySQL 5.0.27.
On there, if I browse to http://localhost/ or http://127.0.0.1/ I get
the website that I'm developing.
But... If I try to access it via my laptop with the correct IP address
(http://192.168.1.98/) it won't connect.
In my httpd.conf file I have the following settings for the listening
ports:

#Listen 12.34.56.78:80
Listen 80
#Listen 192.168.1.98:80

I did try it without the # infront of Listen 192.168.1.98:80 but
nothing happened so I disabled it.
What am I doing wrong?

Thanks.

  Réponse avec citation
Vieux 23/05/2007, 15h11   #2
Werner Flamme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to browse my Apache server internally...

sebz2006@gmail.com schrieb am 23.05.2007 05:31:
> G'day.
> I've set my main PC with Apache 2.2.4, PHP 5.2.0 and MySQL 5.0.27.
> On there, if I browse to http://localhost/ or http://127.0.0.1/ I get
> the website that I'm developing.
> But... If I try to access it via my laptop with the correct IP address
> (http://192.168.1.98/) it won't connect.
> In my httpd.conf file I have the following settings for the listening
> ports:
>
> #Listen 12.34.56.78:80
> Listen 80
> #Listen 192.168.1.98:80
>
> I did try it without the # infront of Listen 192.168.1.98:80 but
> nothing happened so I disabled it.
> What am I doing wrong?
>
> Thanks.
>


You disabled the firewall on the machine running apache?

HTH

--
Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme@ufz.de
  Réponse avec citation
Vieux 25/05/2007, 00h23   #3
kwan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to browse my Apache server internally...

On May 23, 10:11 am, Werner Flamme <werner.fla...@ufz.de> wrote:
> sebz2...@gmail.com schrieb am 23.05.2007 05:31:
>
>
>
> > G'day.
> > I've set my main PC with Apache 2.2.4, PHP 5.2.0 and MySQL 5.0.27.
> > On there, if I browse tohttp://localhost/orhttp://127.0.0.1/I get
> > the website that I'm developing.
> > But... If I try to access it via my laptop with the correct IP address
> > (http://192.168.1.98/) it won't connect.
> > In my httpd.conf file I have the following settings for the listening
> > ports:

>
> > #Listen 12.34.56.78:80
> > Listen 80
> > #Listen 192.168.1.98:80

>
> > I did try it without the # infront of Listen 192.168.1.98:80 but
> > nothing happened so I disabled it.
> > What am I doing wrong?

>
> > Thanks.

>
> You disabled the firewall on the machine running apache?
>
> HTH
>
> --
> Werner Flamme, Abt. WKDV
> Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
> Permoserstr. 15 - 04318 Leipzig
> Tel.: (0341) 235-3921 - Fax (0341) 235-453921http://www.ufz.de- eMail: werner.fla...@ufz.de


you have to check whether the ip is running, after set in httpd.conf
listen
you should ping the ip address whether it is running, if not you have
to set the ip address manually, it is according to whether you are in
windows or linux

  Réponse avec citation
Vieux 25/05/2007, 08h29   #4
Werner Flamme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to browse my Apache server internally...

kwan schrieb am 25.05.2007 01:23:
> On May 23, 10:11 am, Werner Flamme <werner.fla...@ufz.de> wrote:
>> sebz2...@gmail.com schrieb am 23.05.2007 05:31:
>>
>>
>>
>>> G'day.
>>> I've set my main PC with Apache 2.2.4, PHP 5.2.0 and MySQL 5.0.27.
>>> On there, if I browse tohttp://localhost/orhttp://127.0.0.1/I get
>>> the website that I'm developing.
>>> But... If I try to access it via my laptop with the correct IP address
>>> (http://192.168.1.98/) it won't connect.
>>> In my httpd.conf file I have the following settings for the listening
>>> ports:
>>> #Listen 12.34.56.78:80
>>> Listen 80
>>> #Listen 192.168.1.98:80
>>> I did try it without the # infront of Listen 192.168.1.98:80 but
>>> nothing happened so I disabled it.
>>> What am I doing wrong?
>>> Thanks.

>> You disabled the firewall on the machine running apache?
>>
>> HTH
>>
>> --
>> Werner Flamme, Abt. WKDV
>> Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
>> Permoserstr. 15 - 04318 Leipzig
>> Tel.: (0341) 235-3921 - Fax (0341) 235-453921http://www.ufz.de- eMail: werner.fla...@ufz.de

>
> you have to check whether the ip is running, after set in httpd.conf
> listen
> you should ping the ip address whether it is running, if not you have
> to set the ip address manually, it is according to whether you are in
> windows or linux
>


Why do you reply to *my* posting? It was not me who had this problem! ;-)

--
Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme@ufz.de
  Réponse avec citation
Vieux 25/05/2007, 18h07   #5
Mark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to browse my Apache server internally...

sebz2006@gmail.com wrote in news:1179891085.594673.94490
@g4g2000hsf.googlegroups.com:

> G'day.
> I've set my main PC with Apache 2.2.4, PHP 5.2.0 and MySQL 5.0.27.
> On there, if I browse to http://localhost/ or http://127.0.0.1/ I get
> the website that I'm developing.
> But... If I try to access it via my laptop with the correct IP address
> (http://192.168.1.98/) it won't connect.
> In my httpd.conf file I have the following settings for the listening
> ports:
>
> #Listen 12.34.56.78:80
> Listen 80
> #Listen 192.168.1.98:80
>
> I did try it without the # infront of Listen 192.168.1.98:80 but
> nothing happened so I disabled it.
> What am I doing wrong?
>
> Thanks.
>
>


Are you reloading the config file after each change?

--

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  Réponse avec citation
Vieux 29/05/2007, 22h34   #6
Jim Carlock
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to browse my Apache server internally...

kwan schrieb am 25.05.2007 01:23:
> I've set my main PC with Apache 2.2.4, PHP 5.2.0 and MySQL 5.0.27.
> On there, if I browse tohttp://localhost/orhttp://127.0.0.1/I get
> the website that I'm developing.
> But... If I try to access it via my laptop with the correct IP address
> (http://192.168.1.98/) it won't connect.
> In my httpd.conf file I have the following settings for the listening
> ports:
> #Listen 12.34.56.78:80
> Listen 80
> #Listen 192.168.1.98:80
> I did try it without the # infront of Listen 192.168.1.98:80 but
> nothing happened so I disabled it.
> What am I doing wrong?


"Werner Flamme" asked:
: Why do you reply to *my* posting? It was not me who had this
: problem! ;-)

My reply is in context.

Try something along the lines of the following:...

#
# NOTE: No listen directive required.
# IP address goes into the first VirtualHost as ServerName.
# Then specific domains get configured one at a time. Then place
# your subdomains prior to the domain entries to handle those
# appropriately. Apache STOPS going through the .conf file at
# the first successful match.
#

Port 80
NameVirtualHost *:80

#
# ... other stuff as needed ...
#
<VirtualHost *:80>
# Leave the trailing forward slash off
# ... represents some unknown path to the targeted folder/file, fill
# it in with whatever is appropriate for your system.
#
DocumentRoot "Z:/.../.../path_to/subdomain/folder"
ServerName 192.168.1.98
ErrorLog ...
CustomLog ...
</VirtualHost>

# Place all other virtual hosts under the first one above.
# Keep the order of subdomain / domain intact...

<VirtualHost *:80>
DocumentRoot "..."
ServerName subdomain.example.com
ErrorLog ...
CustomLog ...
</VirtualHost>

<VirtualHost *:80>
# Handle bad domain name typos
ServerName subdomain.example.com
ServerAlias *.subdomain.example.com
Redirect 301 / http://subdomain.example.com/
</VirtualHost>

#
# Handle the parent domain...
#
<VirtualHost *:80>
ServerName example.com
ErrorLog ...
CustomLog ...
</VirtualHost>

--
Jim Carlock
Post replies to the group.


  Réponse avec citation
Vieux 11/06/2007, 16h13   #7
Werner Flamme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unable to browse my Apache server internally...


Jim Carlock schrieb am 29.05.2007 23:34:
> kwan schrieb am 25.05.2007 01:23:
>> I've set my main PC with Apache 2.2.4, PHP 5.2.0 and MySQL 5.0.27.
>> On there, if I browse tohttp://localhost/orhttp://127.0.0.1/I get
>> the website that I'm developing.
>> But... If I try to access it via my laptop with the correct IP address
>> (http://192.168.1.98/) it won't connect.
>> In my httpd.conf file I have the following settings for the listening
>> ports:
>> #Listen 12.34.56.78:80
>> Listen 80
>> #Listen 192.168.1.98:80
>> I did try it without the # infront of Listen 192.168.1.98:80 but
>> nothing happened so I disabled it.
>> What am I doing wrong?

>
> "Werner Flamme" asked:
> : Why do you reply to *my* posting? It was not me who had this
> : problem! ;-)
>
> My reply is in context.
>
> Try something along the lines of the following:...


Jim, why do you again reply on *my* posting? It was not me who put the
question or who has the problem, it was sabz2006@gmail.com. Answer on *his*
post please.

I did not say that your reply was out of context, you just replied to the
wrong poster ;-)

Just to have the correct order in the thread...

Regards,
Werner
  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 08h05.


É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
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,26501 seconds with 15 queries