kwgivler
9-18-03, 02:38 PM
I'm trying to do some PHP stuff usign Apache, and I want to be able to go to a URL like http://192.168.1.2/~kwgivler and get /home/kwgivler/public_html (So I don't have to bee root) It works fine on the box that /home/kwgivler/public_html is on localy, but testing the PHP programs on my other machine results is the browser trying to connect to 127.0.0.1/~kwigvler (wich exsits, but of course is completly diffrent than the home directy on 192.168.1.2.
So what happens is that when I try to connect to 192.168.1.2/~kwgivler I get 127.0.0.1/~kwgivler (looping back to 192.168.1.3 or whichever computer reqested it.) 192.168.1.2 is on a local network and can not be accesses outside of it (port 80 is cloesed on the reouter/firewall), so the machine is not a "real" server, just one I use to test things with. The machine's host name is localhost.localdomain
What needs to be changed in the config files? Any help or advice would be great! If you need more info please let me know.
--
Kyle Givler
www.kgivler.com
linux_box@kgivler.com
GPG/PGP key:
www.kgivler.com/linux/gpg.html
So what happens is that when I try to connect to 192.168.1.2/~kwgivler I get 127.0.0.1/~kwgivler (looping back to 192.168.1.3 or whichever computer reqested it.) 192.168.1.2 is on a local network and can not be accesses outside of it (port 80 is cloesed on the reouter/firewall), so the machine is not a "real" server, just one I use to test things with. The machine's host name is localhost.localdomain
What needs to be changed in the config files? Any help or advice would be great! If you need more info please let me know.
--
Kyle Givler
www.kgivler.com
linux_box@kgivler.com
GPG/PGP key:
www.kgivler.com/linux/gpg.html