Apache2 issue on Ubuntu 8.04

John jharitos at yahoo.com
Sat Aug 9 16:11:08 MST 2008


Nevermind, it was my script index.php that was redirecting to localhost.


--- On Sat, 8/9/08, John <jharitos at yahoo.com> wrote:

> From: John <jharitos at yahoo.com>
> Subject: Re: Apache2 issue on Ubuntu 8.04
> To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us>
> Date: Saturday, August 9, 2008, 5:05 PM
> Thanks for the response. The server name isn't set in
> the apache2.conf file. I'm a bit lost on what's
> going on. Thought it was my htaccess file doing something
> but I renamed it and I still have the issue.
> 
> 
> 
> --- On Sat, 8/9/08, Judd Pickell <pickell at gmail.com>
> wrote:
> 
> > From: Judd Pickell <pickell at gmail.com>
> > Subject: Re: Apache2 issue on Ubuntu 8.04
> > To: jharitos at yahoo.com, "Main PLUG discussion
> list" <plug-discuss at lists.plug.phoenix.az.us>
> > Date: Saturday, August 9, 2008, 3:15 PM
> > Check the servername in the /etc/apache2/apache2.conf,
> if it
> > is set to
> > localhost it maybe forcing the redirect... Not sure
> > though..
> > 
> > On Sat, Aug 9, 2008 at 12:57 PM, John
> > <jharitos at yahoo.com> wrote:
> > > I wanted to see if someone could point me in the
> right
> > direction as I cannot figure what's going wrong
> with my
> > config. I have apache2 running on my ubuntu PC. On
> another
> > PC, when I enter the IP address of the Ubuntu PC on
> the
> > network in firefox I get the Apache It works page and
> the IP
> > is displayed in the address bar. For example,
> > http://192.168.0.5/. I've also added an index.php
> to the
> > root directory. On another PC on the network, when I
> enter
> > http://192.168.0.5/index.php I get redirected to
> > http://localhost/index.php and since I'm not on
> the
> > localhost I get a not found error. Does anyone know
> how to
> > turn off this redirect so when I enter
> > http://192.168.0.5/index.php it goes to there instead
> of
> > localhost. If I'm on the Ubuntu PC and I enter
> > http://192.168.0.5/index.php, it also redirects to
> localhost
> > but the index.php file does work.
> > >
> > > I have another PC running Fedora 8 with apache
> and it
> > doesn't do this.
> > >
> > > I'm stumped.
> > >
> > >
> > >
> > >
> ---------------------------------------------------
> > > PLUG-discuss mailing list -
> > PLUG-discuss at lists.plug.phoenix.az.us
> > > To subscribe, unsubscribe, or to change your mail
> > settings:
> > >
> >
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > >
> 
> 
>       
> ---------------------------------------------------
> PLUG-discuss mailing list -
> PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


      


More information about the PLUG-discuss mailing list