For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > March 2005 > Page problems









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Page problems
Tree*Rat

2005-03-07, 4:00 pm

hi all.
I have been doing some php/sql projects. I have now got a friend who is
helping out with these. so we decided to host our own webserver on my
machine as a tempory solution.
The problem is simple but anoying. I have apache, php and sql on my
machine running. They have been working together very well sonce
installed (about 12 months ago). but now i have someone to help out via
ftp he uploads and changes scripts, and i do the same. no probs there.
the problem is when he wants to view the complete project. so he need to
conect to my machine via his web browser. well he has my ip address and
types http://<-ip address here -> in his browser. but he gets a page not
found error (404) why is this? he need access to the project. Now the
index.php file is in the htdocs dir so why can't he get to the page on
this server? he has tried http://<-ip->/index.php and still no joy.

any ideas?
John McGough

2005-03-07, 4:00 pm

is it a direct internet connection or is it through a router?
have you tried typing your IP address in to see if it works?
if your IP address starts with 192.168 or 10.0 or 127.0 then he won't be
able to access it till you give him the external IP address

"Tree*Rat" <no-one@nowhere.com> wrote in message
news:A0YWd.181$aa7.165@newsfe4-gui.ntli.net...
> hi all.
> I have been doing some php/sql projects. I have now got a friend who is
> helping out with these. so we decided to host our own webserver on my
> machine as a tempory solution.
> The problem is simple but anoying. I have apache, php and sql on my
> machine running. They have been working together very well sonce
> installed (about 12 months ago). but now i have someone to help out via
> ftp he uploads and changes scripts, and i do the same. no probs there.
> the problem is when he wants to view the complete project. so he need to
> conect to my machine via his web browser. well he has my ip address and
> types http://<-ip address here -> in his browser. but he gets a page not
> found error (404) why is this? he need access to the project. Now the
> index.php file is in the htdocs dir so why can't he get to the page on
> this server? he has tried http://<-ip->/index.php and still no joy.
>
> any ideas?



Tree*Rat

2005-03-07, 4:00 pm

"John McGough" <goff@funkster.org.uk> wrote in news:393e99F5r5p98U1
@individual.net:

> is it a direct internet connection or is it through a router?
> have you tried typing your IP address in to see if it works?
> if your IP address starts with 192.168 or 10.0 or 127.0 then he won't

be
> able to access it till you give him the external IP address
>
> "Tree*Rat" <no-one@nowhere.com> wrote in message
> news:A0YWd.181$aa7.165@newsfe4-gui.ntli.net...
is[color=darkred]
via[color=darkred]
to[color=darkred]
and[color=darkred]
not[color=darkred]
>
>
>


He has the direct ip and not the local area network one (127.0.0 ... )
one.
John McGough

2005-03-07, 4:00 pm

what happens if you type the external IP in?


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com