Unable to browse my Apache server internally...
Unable to browse my Apache server internally...
am 23.05.2007 05:31:25 von sebz2006
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.
Re: Unable to browse my Apache server internally...
am 23.05.2007 16:11:02 von Werner Flamme
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
Re: Unable to browse my Apache server internally...
am 25.05.2007 01:23:07 von kwan
On May 23, 10:11 am, Werner Flamme 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: we=
rner.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
Re: Unable to browse my Apache server internally...
am 25.05.2007 09:29:28 von Werner Flamme
kwan schrieb am 25.05.2007 01:23:
> On May 23, 10:11 am, Werner Flamme 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
Re: Unable to browse my Apache server internally...
am 25.05.2007 19:07:36 von mark
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 =----
Re: Unable to browse my Apache server internally...
am 29.05.2007 23:34:19 von Jim Carlock
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 ...
#
# 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 ...
# Place all other virtual hosts under the first one above.
# Keep the order of subdomain / domain intact...
DocumentRoot "..."
ServerName subdomain.example.com
ErrorLog ...
CustomLog ...
# Handle bad domain name typos
ServerName subdomain.example.com
ServerAlias *.subdomain.example.com
Redirect 301 / http://subdomain.example.com/
#
# Handle the parent domain...
#
ServerName example.com
ErrorLog ...
CustomLog ...
--
Jim Carlock
Post replies to the group.
Re: Unable to browse my Apache server internally...
am 11.06.2007 17:13:22 von Werner Flamme
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