[oclug] Browser question
GR Gaudreau
transop at sympatico.ca
Sat Oct 5 16:14:16 EDT 2002
On Sat, 2002-10-05 at 15:45, Milan Budimirovic wrote:
> GR Gaudreau wrote:
> >
> > On Sat, 2002-10-05 at 14:30, Milan Budimirovic wrote:
> > <snip>
> > > Methinks you are not quite understanding the problem. When you type
> > > http://rocketman.rocketman.com in your browser, the request is going to
> > > go out over the Net looking for "rocketman.com". From your recent posts
> > > I can only surmise that you have not registered "rocketman.com" in your
> > > name (I strongly suspect it's already taken).
> >
> > [gr] Methinks you're right, that why I was asking. :-) I haven't
> > registered any domain name anywhere. I used rocket.rocketman.com when I
> > configured my NIC on install. MDK asked what domain name I'd like to use
> > and I used that one.
> >
> > > If all you really want to do is look at your website on your local
> > > machine, then pointing your browser to http://localhost is the way to
> > > go.
> >
> > [gr] I tried that and it doesn't work. When you do that, what directory
> > does the browser look for in order to show a page?
> >
>
> Ah, there is the point of departure. You are not opening up a file
> directly, you are asking the http server at "localhost" to serve up the
> page. It is **not** the same as typing a filename in the browser's url
> window.
>
> What you have to do is install Apache first. You either set it up to
> start up at bootup, or you su to "root" and run "/etc/init.d/httpd
> start" to start the http daemon manually. Once you have it running you
> should be able to see something when you type in "http://localhost".
[gr] What's the difference between typing a filename directly in the
browser and asking the http server to serve up a page? When you ask the
server to serve up a page, doesn't it go to /var/www/html/ and look for
an index page? isn't it, then, doing the same thing as typing in the
filename? I don't follow.
--
GR Gaudreau
<http://www.geocities.com/revgaud/>
"Half the lies they told me aren't true!"
~ Yogi Berra
More information about the OCLUG
mailing list