1
edquist
wrong ip number when accessing xoops from outside
  • 2003/11/14 14:27

  • edquist

  • Just popping in

  • Posts: 12

  • Since: 2003/11/14


I'm totally new to XOOPS but like what I've seen so far. At least on my internal network. everything works fine there. But when accessing XOOPS from ouside my router nothing works due to the fact that everything is referenced by it's internal ip number. Part of the loginpage source looks like this:
---
<link href="http://10.0.1.100/xoops/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="http://10.0.1.100/xoops/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="http://10.0.1.100/xoops/themes/default/style.css" />
---
As you can see the ip number is 10.0. not 217.215. as it should be. Any ideas?

I'm connected to the Iternet via a router and DSL. I'm running my own webserver (works fine) and DNS (also works fine).

2
Catzwolf
Re: wrong ip number when accessing xoops from outside
  • 2003/11/14 14:59

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


You can change your IP address via XOOPS Admin/prefs. See if that helps you

3
edquist
Re: wrong ip number when accessing xoops from outside
  • 2003/11/14 15:23

  • edquist

  • Just popping in

  • Posts: 12

  • Since: 2003/11/14


The only ip addresses I can change in admin:prefs are the either which one shouldn't count as impresion on banners and which ones should be banned. Neither of them are 10.0.1.100 but the default 127.0.0.1. Am I in the right prefs module?

4
Catzwolf
Re: wrong ip number when accessing xoops from outside
  • 2003/11/14 15:31

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Teying changing the first one (shouldn't count as impresion on banners) and see if this helps you?

5
edquist
Re: wrong ip number when accessing xoops from outside
  • 2003/11/14 15:50

  • edquist

  • Just popping in

  • Posts: 12

  • Since: 2003/11/14


Did that but still have the same problem

6
ackbarr
Re: wrong ip number when accessing xoops from outside

take a look at /mainfile.php and change the XOOP_URL constant to the appropriate address.

7
edquist
Re: wrong ip number when accessing xoops from outside
  • 2003/11/14 16:34

  • edquist

  • Just popping in

  • Posts: 12

  • Since: 2003/11/14


Works like a beauty ... but shouldn't this be configurable from the preferences module? But, thank's a lot for the superb support the two of you have offered!

Login

Who's Online

168 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 168


more...

Donat-O-Meter

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

Latest GitHub Commits