1
Pappa
Other viewers can't view page correctly. Please Help
  • 2005/6/4 1:55

  • Pappa

  • Just popping in

  • Posts: 15

  • Since: 2005/1/29


Hello,
I am having trouble getting outside viewers (from the net) to view my pages correctly. click on my link to see what I mean.

PC Doctor

Seems that people can view the text, sort-of...
But the PHP and/or MySQL is not working for outside viewers.

All works locally of course. Regaurdless of what path I use:
127.0.0.1 (loopback)
http://localhost (local)
192.168.0.115 (internal IP)
http://station3 (station name)
http://69.145.10.66/ (gateway IP)
orhttp://www.pcdoctorservices.org (Physical URL)

I have port 80 on my standalone router/firewall for TCP&UDP passed through to my local address 192.168.0.115. I don't think they are geting blocked, but perhaps dn't have access to my database or php functions.

Not sure, and would love any help to guide me to the right area.

Thank you

2
DonXoop
Re: Other viewers can't view page correctly. Please Help

I'll let you do the search for it but that is a DNS issue. It works for you because you are on the server and all calls (based on your mainfile.php file) are for 127.0.0.1 or localhost or the local net IP. That won't work for any other machines that can't reach the internal IP. The initial call from outside reaches the server but the source tries to call localhost for content.

You need to change mainfile.php URL to be pcdoctorservices.org . The next problem is then internal machines. DNS / hosts file

3
Pappa
Re: Other viewers can't view page correctly. Please Help
  • 2005/6/4 3:38

  • Pappa

  • Just popping in

  • Posts: 15

  • Since: 2005/1/29


I checked the mainfile.php and the url was set to my local IP. (192.168.0.115) The virtual path was set to my localloop (127.0.0.1), so I chaned that to my local IP 192...

All still works fine locally, not sure outside yet.

4
DonXoop
Re: Other viewers can't view page correctly. Please Help

That still won't work. The XOOPS_URL setting must be "http://pcdoctorservices.org" for it to work from the outside. Think of it this way, every page as it is now has a reference to 192.168.0.115 which from the outside nobody can see.

5
Pappa
Re: Other viewers can't view page correctly. Please Help
  • 2005/6/5 4:02

  • Pappa

  • Just popping in

  • Posts: 15

  • Since: 2005/1/29


How about changing it tohttp://69.145.10.66 (My gateway) vs my actual URL? That should work the same I would think.

Login

Who's Online

123 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 123


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits