Unable to browse my Apache server internally...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Unable to browse my Apache server internally...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-23-07 06: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.






[ Post a follow-up to this message ]



    Re: Unable to browse my Apache server internally...  
Werner Flamme


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-23-07 06: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





[ Post a follow-up to this message ]



    Re: Unable to browse my Apache server internally...  
kwan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:22 AM

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






[ Post a follow-up to this message ]



    Re: Unable to browse my Apache server internally...  
Werner Flamme


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 12:19 PM

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





[ Post a follow-up to this message ]



    Re: Unable to browse my Apache server internally...  
Mark


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 06: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 N
ews==----
http://www.webservertalk.com The #1 Newsgroup Service in the World! 120,000+
 Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----





[ Post a follow-up to this message ]



    Re: Unable to browse my Apache server internally...  
Jim Carlock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-30-07 12:22 AM

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.







[ Post a follow-up to this message ]



    Re: Unable to browse my Apache server internally...  
Werner Flamme


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-11-07 06: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:22 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register