httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Zhang <justinzhang1...@gmail.com>
Subject Re: [users@httpd] Fwd: Home Web Server
Date Wed, 13 May 2009 18:47:48 GMT
Thank you for the tips. I have to clarify my current configuration

Listen 8080
ServerName 24.78.136.243

Now both http://192.168.0.100/ and http://192.168.0.100:8080/ are working.
Still need testing external IP 24.78.136.243.




On Wed, May 13, 2009 at 11:33 AM, André Warnier <aw@ice-sa.com> wrote:

> Justin Zhang wrote:
>
>> Is my cofiguration right?
>>
>> Listen 192.168.0.100:80 <http://192.168.0.100/>
>> ServerName 24.78.136.243:80 <http://24.78.136.243/>
>>
>> Not entirely.  Simplify :
> Listen 80
> ServerName 24.78.136.243
>
>
> Some tips :
> - do not make changes to the configuration unless you know exactly why you
> are making them, and what you are doing.
> - make one single change at a time, restart Apache, and check that it still
> works like it did before.
> - do not make changes in-between messages that you post here, or else you
> will upset the people trying to help you, and they will not answer anymore
>
> You have a basically working Apache now. Do not ruin it, or else it is
> going to be very hard to fix what does not work yet.
> So far, your problem does not seem to be with Apache, but with the network
> outside of Apache.
>
> Now about the change I recommended above, and why :
>
> Listen 192.168.0.100:80 <http://192.168.0.100/>
> is unnecessarily restrictive. It means that your Apache will *only* process
> requests that arrive on its interface that has the IP address
> "192.168.0.100".  So it would not process request that arrive on is
> interface 127.0.0.1 (the loopback interface).
> Listen 80
> means : process all requests arriving for port 80, no matter through which
> interface they arrive.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message