AMiLDA FORUM

You are not logged in.

Announcement

### Our Homepage is down at the moment...work in progress !! ###

#1 2006-05-28 19:17:23

TheKr1S
Member
Netherlands
From: Driebergen
Registered: 2006-03-12
Last visit: 2009-01-31
Posts: 11
Website

error in index.php

index.php contains an error that causes that the routername can't be modified. In line 10:
    var host = aspConfigGetValue("HOST_NAME");
    var domain = aspConfigGetValue("HOST_DOMAIN");


must be
    var host = aspUtilGetRequestVar("hostname");
    var domain = aspUtilGetRequestVar("domainname");


RMW

Offline

 

#2 2006-05-29 19:55:34

sergioag
Developer
Peru
From: Lima
Registered: 2006-02-16
Last visit: 2011-08-15
Posts: 166
Website

Re: error in index.php

Ups.... that's a bug. I'll correct it tonight.

Sergio

Offline

 

#3 2006-06-17 11:30:05

parcival
New member
Registered: 2006-06-17
Last visit: 2006-07-12
Posts: 3

Re: error in index.php

I think there is more to do, to change hostname without reboot:

A updated index.php can be found here:
http://bugs.amilda.org/show_bug.cgi?id=16

There is also a updated /etc/init.d/hostname so changing the hostname without rebooting the router won't mess up /etc/hosts

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB