LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   PHP5.2.2 with Apache 2.2.4 - Can't ./configure - Also, how do I do port fowarding? (https://www.linuxquestions.org/questions/linux-server-73/php5-2-2-with-apache-2-2-4-cant-configure-also-how-do-i-do-port-fowarding-557551/)

Virtuality 05-29-2007 03:47 PM

PHP5.2.2 with Apache 2.2.4 - Can't ./configure - Also, how do I do port fowarding?
 
Hi, I have apache installed and running. Two problems.


(think i got the first problem fixed)


Second problem should be simple but I've spent hours and nowhere on the internet that I've been able to find (I'm sure I found something before I needed it, can't dig it up) will explain how to do this. I know I go to my router, and where the Port Fowarding is there. I just need to be shown what to put and where to put it. I am using a dynalink RTA770.

Screenshot of router page: http://img380.imageshack.us/my.php?i...wardingxv4.jpg

twantrd 05-29-2007 04:10 PM

you need to forward port 80 to that ip you have there. That's it.

-twantrd

Virtuality 05-29-2007 04:17 PM

Already doing that, can only view my site while on the network or on this computer via 127.0.0.1

Site is www.bloodreign.vodka.at (temp address since it puts adds on it)

I have no idea how sites make all those .com domains, only way I can see of getting one is paying for it.

twantrd 05-29-2007 06:40 PM

So, your external ip from your house is 64.235.234.138? If so, then you're not port forwarding it right.

-twantrd

Virtuality 05-29-2007 06:57 PM

No, it's not. It's 60.234.211.220

And... not port fowarding it right, what can I do, mistype 80?

It's not running at the moment, I have the service stopped since I just formatted and started over.

Any reason this wouldn't work? : http://img403.imageshack.us/my.php?image=portsko2.png

Thanks for the help so far.

twantrd 05-29-2007 10:55 PM

You didn't have to reformat your comp. You were in the right direction. Anyhow, that domain won't work since it's NOT pointing to your external ip. You should've tried http://60.234.211.220 and see if the page came up.

For your router, I don't use that model but it appears to be correct.

-twantrd

Virtuality 05-29-2007 11:20 PM

I had to format my computer for other reasons, I was explaining why it wouldn't work for now.

I'm confused, is 60.234.211.220 NOT my external IP? Because thats where that link points to...

I'll try again if I can ever install PHP5, my computer is almost crashing from trying to compile gcc 4.2.0 TWICE because the first time after compiling for 1.5 hours it gives me an error saying bison isn't installed... almost considering using windows as a server instead of linux.

I can't install PHP5 without gcc 4.2.0, at least I think that's why, I can't be stuffed posting the error.

twantrd 05-30-2007 01:04 PM

Ok, the reason why I said it was the 64.x.x.x address was because I did a lookup on that domain:

Non-authoritative answer:
Name: kickme.to
Address: 64.235.234.138
Aliases: www.bloodreign.vodka.at

However, I looked at my socket connections and it was going to the IP that you stated. I guess your hosting has some forwarding rule which is fine then.

Quote:

I'll try again if I can ever install PHP5, my computer is almost crashing from trying to compile gcc 4.2.0 TWICE because the first time after compiling for 1.5 hours it gives me an error saying bison isn't installed... almost considering using windows as a server instead of linux.
Next time you re-install your OS, install the development tools so that you can all the compilers set up. However, the compilers are on your CD/DVD. Just install them via "rpm -Uvh <rpm_package>".

-twantrd


All times are GMT -5. The time now is 06:54 AM.