[Chilli] redirecting successfully authenticated clients to a particular website/webpage

Luis Ferreira lferreira at cabocom.cv
Mon Jan 13 10:41:51 UTC 2014


Hi Sourav,

Here is my 5 cent's:

In chilli, I'm not aware of a "per client" redirect, so probably your best
aproach would be with the php script on the login page.

Imagine the following table :

chilli_redirurl
	id 	(PK )		(id the same as username in radcheck)
	url

make a query on successful login, to check if the id of th user exists
there. If yes, redirect to that specific page. If not, redirect to a general
url, or submited url

PS: on the table you could use username as the primary key instead of 'id',
but for speed and low overhead on sql database, I would recommend this.

Kind regards
Luis



-----Mensagem original-----
De: chilli-bounces at coova.org [mailto:chilli-bounces at coova.org] Em nome de
Sourav
Enviada: 13 de janeiro de 2014 00:03
Para: chilli at coova.org
Assunto: [Chilli] redirecting successfully authenticated clients to a
particular website/webpage

I want to redirect a coovachilli based hotspot client to a particular
website/webpage, after the client has successfully logged in to
coovachilli......is this possible via some settings in the
/etc/chilli/config file?
If not, then what can be done to achieve this. Please respond asap.

--
Warm Regards,
Sourav


______________________________________________________________________
This communication contains information which may be confidential or
privileged. The information is intended solely for the use of the individual
or entity named above.  If you are not the intended recipient, be aware that
any disclosure, copying, distribution or use of the contents of this
information is prohibited.  If you have received this communication in
error, please notify me by telephone immediately.
______________________________________________________________________
_______________________________________________
Chilli mailing list
Chilli at coova.org
http://lists.coova.org/cgi-bin/mailman/listinfo/chilli



More information about the Chilli mailing list