On Wed, Jun 27, 2001 at 05:48:48PM +1000, Andrew Bennetts wrote:
> On Wed, Jun 27, 2001 at 05:11:24PM +1000, Mike Lake wrote:
> > # allow from localhost      # why does this not work?
> 
> Are you pointing your browser at 
>   http://localhost/blah
> or at:
>   http://mycomputername/blah

When I point it at http://localhost/~mikel I get 
"Forbidden You don't have permission to access /~mikel on this server."

AND the URL in the browser changes to:
        http://mycomputername.mydomain.edu.au/~mikel/

(That means that localhost is being resolved to mycomputer.mydomain I
gather)

When I point it at http://mycomputername/~mikel I get 
"Forbidden You don't have permission to access /~mikel on this server."

> At a guess, the first should work, and the second shouldn't. 
Nope. neither.

If I point it just to http://localhost I get:
You don't have permission to access / on this server.

If I point it to http://mycomputername I get the correct index.html file 
in /var/www

> Your browser is free to bind to any local interface it likes when it creates
> a socket to connect to somewhere... default behaviour for sockets is to
> try pick an appropriate interface, so if you point your browser at a
> "real" IP addres, or a domain name that maps to one, it will connect
> from your internet connection's address, not your localhost one.
> I hope this helps (and I hope I'm making sense :)

Dont really follow about the binding.
I understand about mapping to an address if it can loo up an addr from a
name but not the bit about the "from" bit. 

Mike
-- 
Don't worry if you're a kleptomaniac; you can always take something for it.

Michael Lake, University of Technology, Sydney
Work: [EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
               ***************************************



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to