I Need PHP help PLEASE

All Helbreath Server Source Discussion here.
Post Reply
zonghui
Regular
Posts: 47
Joined: Mon Jun 19, 2006 7:57 pm
Location: Pennsylvania

Post by zonghui »

OK I haven't been here in a while but I need help right now with PHP.

I have a Comcast all in 1 Router/Cable Modem and I've forwarded my PHP server's port and changed the IP in httpd to my external IP.

I can access the php scripts like account creator and make an account, but no one else can.

I've got all my Helbreath server ports forwarded just fine and the game runs fine everyone can play through my router.

I've done everything all the PHP guides have told me to try but I'm stumped as to how to get the PHP scripts out to the public.

If you can help me thank you.
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

hey where you accessing your webserver with 127.0.0.1? or your external ip? sounds like your apache server is denying all outside connections you can check by going into your apache config and changing the allow config to your external ip
Girlfriends are dedicated hookers.
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Apache needs to be set to your internal ip. It can't bind to an ip you don't have on the machine.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
zonghui
Regular
Posts: 47
Joined: Mon Jun 19, 2006 7:57 pm
Location: Pennsylvania

Post by zonghui »

Charlie-

I was accessing my webserver with my external IP and get the easy php page like it should.

So you guys are saying that my only problem is the apache allow IP correct?

Since I have charlie telling me it needs to be my external, and bone-you telling me internal, I will try them both to eliminate confusion and see which one works.

Thanks for your help. I'll keep troubleshooting and if I can't get anywhere I will be sure to ask again.
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

zonghui wrote: Charlie-

I was accessing my webserver with my external IP and get the easy php page like it should.

So you guys are saying that my only problem is the apache allow IP correct?

Since I have charlie telling me it needs to be my external, and bone-you telling me internal, I will try them both to eliminate confusion and see which one works.

Thanks for your help. I'll keep troubleshooting and if I can't get anywhere I will be sure to ask again.
change it to your internal and one to your external and change the port from 80.. if behind router, been awhile but cant remember which one to which because i dont use phps anymore but did back in the day lol, behind a router XD
<i>"Always write good code. Feel bad to write bad code."</i>
zonghui
Regular
Posts: 47
Joined: Mon Jun 19, 2006 7:57 pm
Location: Pennsylvania

Post by zonghui »

Ok, this is what I have done;

The httpd cfg file in the conf_files in the root folder for easy php is set to my external, the httpd file for the apache is set to my internal.

Correct?

Haven't had time to test it yet.

Is there any specific port it should be?

Or do I just need to change it from 80.
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

oh i forgot you had a router

youll need to set httpf to internal router ip and port forward your router to your machine
Girlfriends are dedicated hookers.
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

zonghui wrote: Ok, this is what I have done;

The httpd cfg file in the conf_files in the root folder for easy php is set to my external, the httpd file for the apache is set to my internal.

Correct?

Haven't had time to test it yet.

Is there any specific port it should be?

Or do I just need to change it from 80.
some routers don't let you use port 80, some do; just depends. so you'll have to play with it a bit and reconfigure it some to get it set right.
<i>"Always write good code. Feel bad to write bad code."</i>
Post Reply