Nevermind, it was my script index.php that was redirecting to localhost. --- On Sat, 8/9/08, John wrote: > From: John > Subject: Re: Apache2 issue on Ubuntu 8.04 > To: "Main PLUG discussion list" > 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 > wrote: > > > From: Judd Pickell > > Subject: Re: Apache2 issue on Ubuntu 8.04 > > To: jharitos@yahoo.com, "Main PLUG discussion > list" > > 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 > > 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@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@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@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss