rejetto forum
February 12, 2012, 10:33:27 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: see bad pass/username  (Read 3946 times)
0 Members and 1 Guest are viewing this topic.
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #30 on: May 10, 2010, 02:38:07 PM »

this code
Code:
[+unauthorized]
{.append|/A Location You Choose/Spl-Log.txt|Bad_Login: %date% %time% %ip% {.if|%user%|%user%|0.} %password%
.}

must be put in the template, not events file.
so the best way is to right click on the root/home > properties > diff template
I have this in hfs.events as well as the first I posted, and it works in 260 here? So this should be in tpl?
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1469



View Profile WWW
« Reply #31 on: May 10, 2010, 02:42:39 PM »

I have this in hfs.events as well as the first I posted, and it works in 260 here? So this should be in tpl?

refer you to http://www.rejetto.com/wiki/index.php?title=HFS:_Template

Both have to work Wink

Code:
    runEventScript('unauthorized');
    getPage('unauthorized', data);

Quote
Network events

unauthorized
this user has no permission to access the requested resource.

Sections List
[unauthorized]
HTML for the %content% symbol


in tpl, section [unauthorized]  is evaluated so often as the variable %content% appear in the section [error-page]

Code:
if data.conn.reply.mode <> HRM_REPLY then
    s:=xtpl(tpl2use['error-page'], ['%content%', s]);
« Last Edit: May 10, 2010, 03:04:49 PM by Mars » Logged
r][m
Insane poster
*****
Offline Offline

United States United States

Posts: 339


View Profile
« Reply #32 on: May 11, 2010, 08:25:57 AM »

Thanks Mars,
I moved these to tpl and I think it works better !
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page February 07, 2012, 01:22:34 AM
anything