Server Help

Trash Talk - home page works, click links and Page can not be displayed??

Anonymous - Wed Jan 03, 2007 7:41 pm
Post subject: home page works, click links and Page can not be displayed??
Set up my own server using xampp. installed Invision Power Board [IPB]. using http://localhost/forums/index.php works fine for me and also http://myIP/forums/index.php works fine for me. however http://myip/forums/index.php allows out side users / clients to connect to the main page of the forum. However when they want to navigate around it like click "login" or "register" they get "Page cannot be displayed".

Is this a server set up problem?

is there any ideas around this..

I am not sure if i am in the correct place here. However im not sure if this is server related problem (i think it is) or a board problem.

Maby someone can help me out here.
Solid_Fire - Thu Jan 04, 2007 12:10 am
Post subject:
Page cannot be displayed. Obvisouly you didn't set it up right. Try the IPB forums...I'm sure there is a thread that can help you there..
Solo Ace - Thu Jan 04, 2007 2:27 am
Post subject:
This is Server Help for the game Continuum, however, you're still welcome here.

I'd tell you to never listen to Solid_Fire and I think his method of trying to "help" you actually lacks any help, but you might indeed be better off somewhere else.

Anyway, according to the IPB documentation, this is what's the installer asks you:

Quote:
The addresses that Invision Power Board is located at should automatically be detected and filled in. The Install Directory setting should be a server path to your Invision Power Board installation, whereas the Install Address setting should be the URL you would use to access it via a web browser. Example settings are shown below, but consult your host if you are unsure what these should be:
• Install Directory - /home/username/public_html/forums/
• Install Address – http://www.example.com/forums/

Once you have verified these addresses, click Next to proceed.


So, as installation directory you should see something like
/home/username/public_html/forums
or
/var/www/default/forums
on Linux or
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\forums
on Windows.

Anyway, I'm assuming you installed the forums on http://localhost/forums/. The installer took this address as install address in its configuration. This causes the external users to be redirected to http://localhost/forums/ later.

You can check your config file, which might be named conf_global.php, or just re-install to fix this.

The forums need to be configured for approach from an external host, therefore you might have to install from an external host or make the server think you are an external host.
Take your WAN IP address, which is 216.73.216.44 (Note: I don't know your WAN IP address, I'm using the [cuserip] tag, which will be replaced by your own IP address) and can be found on http://www.whatismyip.com/ and use this for the installation address of your forums.

This might be somewhat confusing, but IPB isn't really made to run on localhost. If you fixed the problem by doing what I described above, you will still be able to access the forums by using http://localhost/forums, but you'll have to change the address to a correct address after clicking any link.

Some routers or maybe even ISPs (well, that's probably stupid) return requests from your LAN if the destination IP is equal to your WAN IP, this would easily allow you to access your forums from your localhost.
Maverick - Thu Jan 04, 2007 2:27 am
Post subject:
If you are trying in Internet Explorer, make sure you have friendly http error messages disabled so you can see the real errors. (Tools / Internet Options / Advanced tab / "Show friendly HTTP error messages" )

It's probably a server problem. Also, have you already tried viewing the error.log ?
Solo Ace - Thu Jan 04, 2007 2:28 am
Post subject:
Oh wow good morning Maverick!
Maverick - Thu Jan 04, 2007 2:30 am
Post subject:
Good morning icon_smile.gif
Heh posted at the same time
Solo Ace - Thu Jan 04, 2007 2:32 am
Post subject:
Crap, I used [clientip], which should've been [userip]. icon_sad.gif
I suck for not checking. icon_smile.gif
Solid_Fire - Thu Jan 04, 2007 4:37 am
Post subject:
Solo Ace wrote:
This is Server Help for the game Continuum, however, you're still welcome here.

I'd tell you to never listen to Solid_Fire and I think his method of trying to "help" you actually lacks any help, but you might indeed be better off somewhere else.

Anyway, according to the IPB documentation, this is what's the installer asks you:

Quote:
The addresses that Invision Power Board is located at should automatically be detected and filled in. The Install Directory setting should be a server path to your Invision Power Board installation, whereas the Install Address setting should be the URL you would use to access it via a web browser. Example settings are shown below, but consult your host if you are unsure what these should be:
• Install Directory - /home/username/public_html/forums/
• Install Address – http://www.example.com/forums/

Once you have verified these addresses, click Next to proceed.


So, as installation directory you should see something like
/home/username/public_html/forums
or
/var/www/default/forums
on Linux or
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\forums
on Windows.

Anyway, I'm assuming you installed the forums on http://localhost/forums/. The installer took this address as install address in its configuration. This causes the external users to be redirected to http://localhost/forums/ later.

You can check your config file, which might be named conf_global.php, or just re-install to fix this.

The forums need to be configured for approach from an external host, therefore you might have to install from an external host or make the server think you are an external host.
Take your WAN IP address, which is [clientip] (Note: I don't know your WAN IP address, I'm using the [clientip] tag, which will be replaced by your own IP address) and can be found on http://www.whatismyip.com/ and use this for the installation address of your forums.

This might be somewhat confusing, but IPB isn't really made to run on localhost. If you fixed the problem by doing what I described above, you will still be able to access the forums by using http://localhost/forums, but you'll have to change the address to a correct address after clicking any link.

Some routers or maybe even ISPs (well, that's probably stupid) return requests from your LAN if the destination IP is equal to your WAN IP, this would easily allow you to access your forums from your localhost.


I thank you solo, for stating the obvious in me, thank you very much.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group