Apache Server configuration support - Unable to browse my Apache server internally...

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > June 2007 > Unable to browse my Apache server internally...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Unable to browse my Apache server internally...
sebz2006@gmail.com

2007-05-23, 1:17 am

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.

Werner Flamme

2007-05-23, 1:21 pm

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
kwan

2007-05-24, 7:22 pm

On May 23, 10:11 am, Werner Flamme <werner.fla...@ufz.de> wrote:
> sebz2...@gmail.com schrieb am 23.05.2007 05:31:
>
>
>
>
>
>
>
> You disabled the firewall on the machine running apache?
>
> HTH
>
> --
> Werner Flamme, Abt. WKDV
> Helmholtz-Zentrum f=FCr 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

Werner Flamme

2007-05-25, 7:19 am

kwan schrieb am 25.05.2007 01:23:
> On May 23, 10:11 am, Werner Flamme <werner.fla...@ufz.de> wrote:
>
> 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
Mark

2007-05-25, 1:22 pm

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 webservertalk.com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.webservertalk.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jim Carlock

2007-05-29, 7:22 pm

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.


Werner Flamme

2007-06-11, 1:25 pm


Jim Carlock schrieb am 29.05.2007 23:34:
> kwan schrieb am 25.05.2007 01:23:
>
> "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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com