Re: using apache on a network
| From: | Constantin Baciu | Date: | Sun, 15 Sep 2002 19:15:21 +0000 |
| Subject: | Re: using apache on a network | ||
| References: | 1 2 3 4 5 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15828@lists.php.net to get a copy of this message | ||
First of all... Listen <IP of another computer...> is WRONG.... This
directive is there to use in case of multiple net-cards installed on the
computer... Every card installed has it's own IP address... So you SHOULD
HAVE Listen <IP of one net-card installed on the computer (the one with
the server....)>
Second: Bind is used if you want to have multiple Virtual Hosts on the same
server...
I.E... you Bind www.host1.com to IP1 and www.host2.com to IP2....
I hope that you get it...
"M.B." <micb_@hotmail.com> wrote in message
news:20020914155313.23095.qmail@pb1.pair.com...
> I don't understand you fully, but one thing is clear: I don't whant to use
a
> DNS server (yet).
> When I refer to the IP of the computer with apache on it, I still have to
> make an internetconnection.
> maby that I didn't set my file write, but maby this will help you to help
me
> further.
> This are some parts of my httpd.conf-file:
>
> ### Section 1: Global Environment
> #
> # The directives in this section affect the overall operation of Apache,
> # such as the number of concurrent requests it can handle or where it
> # can find its configuration files.
> #
>
> #
> # ServerType is either inetd, or standalone. Inetd mode is only supported
> on
> # Unix platforms.
> #
> ServerType standalone
>
> ---------------------------------------
> #
> # Listen: Allows you to bind Apache to specific IP addresses and/or
> # ports, in addition to the default. See also the <VirtualHost>
> # directive.
> #
> Listen <THE IP of anouther computer in the network>
> Listen <a speciall port> (works)
> -------------------------------------
> #
> # BindAddress: You can support virtual hosts with this option. This
> directive
> # is used to tell the server which IP address to listen to. It can either
> # contain "*", an IP address, or a fully qualified Internet domain name.
> # See also the <VirtualHost> and Listen directives.
> #
> BindAddress *
> -----------------------------
> ServerName Localhost
> ------------------------------
>
>
> (PS. I do not made a VirtualHost)
> Maby now you now what the problem is or what goes wrong.
>
> M.B.
>
>
> "Constantin Baciu" <johndoe110479@mymail.ro> schreef in bericht
> news:20020912072012.91472.qmail@pb1.pair.com...
> > No...
> >
> > What I mean is:
> > 1. Either you setup a DNS server on the computer that you run apache on.
> If
> > you do that, you have to set the
> > DNS on the computer that are on the local network. Then, in the
browsers,
> > you refer by server-name.....
> >
> > 2. You do not set any DNS server, and you refer to the site (in the
> > browsers) by the IP of the computer with apache....
> >
> > Hope that you understand and hope that helps...
> >
> > Best...
> >
> > "M.B." <micb_@hotmail.com> wrote in message
> > news:20020911165527.9855.qmail@pb1.pair.com...
> > > So you mean by listening to the IP (in the httd.conf-file)?
> > > I already done that, but then I typed the IP of my server in my
browser
> > > (wich can't be written in the httd.conf-file because it crahsses then)
> and
> > > then my computer needs an internetconnection.
> > > But that is the thing I do not want to use.
> > > How do I get to the pages to see on my ather computers in the network,
> > what
> > > do I have to type in my browser, when I'm listening to the IP from
that
> > > computer so that I don't have to make an internetconnection? (I
already
> > > tried listening to a port, and then giving an IP to, but that
didn'help.
> > > So what is it that I do wrong?
> > >
> > > M.B.
> > >
> > >
> > > "Constantin Baciu" <johndoe110479@mymail.ro> schreef in bericht
> > > news:20020911153633.8176.qmail@pb1.pair.com...
> > > > For the second question:
> > > >
> > > > try connecting through the IP (not the server name.....)
> > > >
> > > >
> > > > "M.B." <micb_@hotmail.com> wrote in message
> > > > news:20020910142834.86699.qmail@pb1.pair.com...
> > > > > Hi, I have installed PHPTraid so, that went OK.
> > > > > But I have a network and I would like to see the pages on the
> > computers
> > > > that
> > > > > are connected to the servercomputer. (win ME)
> > > > > I tried a lot of things already and I have one problem:
> > > > > when I type in that he must Listen to <IP computer> then everytime
> I'm
> > > not
> > > > > connected to to the network, my computer with the apache server
> can't
> > > > run.
> > > > > And anouther problemm that I have is: that when I try to go to the
> > site
> > > on
> > > > > one of the connected computers in my network, I have to have an
> > > > > internetconnection to view the pages (I also use a port to listen
to
> > in
> > > > the
> > > > > file) but when I have my internetconnection it isn't used only the
> > > network
> > > > > is used, how can I make it work without the use of an
> > > internetconnection?
> > > > >
> > > > > M.B.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>