Justin Zhang wrote:Not entirely. Simplify :
Is my cofiguration right?
Listen 192.168.0.100:80
ServerName 24.78.136.243:80
Listen 80Some tips :
ServerName 24.78.136.243
- 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 : 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@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx