1
nelson_cho
configure mainfile.php
  • 2006/4/5 13:21

  • nelson_cho

  • Just popping in

  • Posts: 24

  • Since: 2006/2/17


Still cannot solve the problem.

My site did not display properly when I use the domain name xxxx.xx in the virtual path of mainfile.php file. It only display the input box of user name, password ...etc. When I try to login, it did not work.

When I use the IP (ex. 256.128.156.93) offer by my boardband company. Everything work fine. The site work properly. My problem is my IP is not fix. The company use DHCP. I am using no-ip service. Is there something I did wrong?

2
Tailzehhhh
Re: configure mainfile.php
  • 2006/4/6 5:40

  • Tailzehhhh

  • Just popping in

  • Posts: 20

  • Since: 2006/4/6 5


use 127.1.1 or localhost?

3
Herko
Re: configure mainfile.php
  • 2006/4/6 5:48

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


No, setting it to localhost will not work.

If you have a no-ip service, why don;t you use the URL from that? That will point to your current IP address (theres an application that will synch the no-ip url to your current IP). It works perfect for me.

It means that when you log in to your site, you will have to use the no-ip address too, and not localhost or the name of your computer.

Herko

4
nelson_cho
Re: configure mainfile.php
  • 2006/4/6 11:08

  • nelson_cho

  • Just popping in

  • Posts: 24

  • Since: 2006/2/17


Thank you Tailzehhhh & Herko.

Herko, what is the application that will synch the no-ip url to your current IP? And would you please to give me more information about that? thank you very much.

I already using the dynamic update client from no-ip. The virtual path would not automatical update the IP address when I restart the computer. So, every time I start up the computer, I had to check the IP address and modify the configure on mainfile.

5
Tailzehhhh
Re: configure mainfile.php
  • 2006/4/6 18:59

  • Tailzehhhh

  • Just popping in

  • Posts: 20

  • Since: 2006/4/6 5


no problem,

if you need hosting then visit the link on my signature

- Tailzehhhh

6
nelson_cho
Re: configure mainfile.php

Thank you Tailzehhhh. But I want to have my home server. It just for fun.

7
iHackCode
Re: configure mainfile.php

i dont know if it helps but my install of xsas says

define('XOOPS_URL'"http://{$_SERVER['HTTP_HOST']}");
im not sure what it does
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

8
nelson_cho
Re: configure mainfile.php

Amazing, it works. Thank you Bandit-X.

9
dckngai
Re: configure mainfile.php
  • 2006/4/11 15:05

  • dckngai

  • Just popping in

  • Posts: 6

  • Since: 2006/2/13


Nelson,

It's good to here that your site works. I followed the same and it worked for a while. Now I could hardly log in as administrator via the internet.. Even I successfully log in, I would be kicked out with the message that I am not authorized to access the module.

When I log in from the same LAN segment, everything is fine.

Would you please share your experience on dynamic IP, no-ip port re-direct? Many thanks!

10
m0nty
Re: configure mainfile.php
  • 2006/4/11 15:09

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


@dckngai

why not google it instead of possibly waiting days for a reply?

www.no-ip.com

Login

Who's Online

196 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

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

Latest GitHub Commits