1.
Quote:
The problem is: the browser cannot connect to the 127.0.0.1 page.
|
I assume you mean that you are running apache2 on machineA, and that
using a browser on machineA you can't load a page from either:
http://127.0.0.1
or
http://localhost
Have a look in /etc/apache2/sites-enabled
You should see something like 000-default
(which is a link to a config file in the sites-available directory).
Viewing this file, you should confirm that the following stanzas exist:
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
</Directory>
ErrorLog /var/log/apache2/error.log
Pay particular attention to lines containing: "Allow from"
If you are going to attempt a clean install, make sure you purge your old config files first:
#apt-get remove --purge apache2
otherwise you'll end up with the same problem.
Quote:
I also configured a two pc lan and the pc I use where not the server it had the 192.168.0.2 ip. I changed the configuration and made it as the server, but the trick still has me.
|
I can't decipher that statement.
