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 <[EMAIL PROTECTED]> 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 - [email protected]
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to