SUDDN <Bogus@NoSpam.com> wrote news:ILIec.26513$rg5.43647@attbi_s52:
>>> When I go into a shell and do a: ping www.ellawheelerwilcox.org I
>>> get: 64 bytes from redirectf.dnsix.com (66.150.161.133): icmp_seq=11
>>> ttl=241 time=16.7 ms
>>>
>>> 66.150.161.133 is not my IP address. My IP address is currently:
>>> 24.18.61.161
>>>
>>> So if I want to get to my friends site which is located in his home
>>> directory I should be able to enter: http://24.18.61.161/~redwards
>>>
>>> But when I do that I get:
>>>
>>> An error occurred while loading http://24.18.61.161/~redwards:
>>>
>>>
>>> Could not connect to host 127.0.0.1
>>>
>>> It appears that Apache2 is redirecting the request to the loopback
>>> address.
Yes, something redirects the client browser to
http://127.0.0.1/
~redwards/ :
"
server:~# wget -v
http://24.18.61.161/~redwards
--22:56:40--
http://24.18.61.161/%7Eredwards
=> `~redwards'
Connecting to 24.18.61.161:80...
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://127.0.0.1/~redwards/ [following]
--22:56:41--
http://127.0.0.1/%7Eredwards/
=> `index.html'
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 404 Not Found
22:56:41 ERROR 404: Not Found.
"
You should have a look in the /home/~redwards/public_html directory :
- any .htaccess ? content ?
Check the config in the files :
/etc/httpd/conf.d/*.conf
conf/commonhttpd.conf
Include conf/vhosts/Vhosts.conf
Regards