Apache2 works a little different with respect to the config files. I added your suggestions to the 000-default file and it's still redirecting to localhost. --- On Sat, 8/9/08, keith smith wrote: > From: keith smith > Subject: Re: Apache2 issue on Ubuntu 8.04 > To: "Main PLUG discussion list" > Date: Saturday, August 9, 2008, 4:49 PM > I'm running Fedora 5 and I do not have an > /etc/apache2/apache2.conf > > I have /etc/httpd/conf/httpd.conf > > I think at the bottom of your config file you can add > something like > > > > DocumentRoot /work/dev/directory-name > ServerName url.tld > DirectoryIndex index.php index.htm index.html > ErrorLog logs/error_log > CustomLog logs/access_log common > > > You may have to add a listen command. > > I'm no expert..... > > ------------------------ > Keith Smith > > > > --- 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, 1: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 --------------------------------------------------- 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