Article delegate-en <_A4021@delegate-en.ML_>
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[delegate-en/4021] [Reference:<_A4019@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: customization builtin messages and icons.
29 Jul 2008 10:51:36 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <00cc01c8f119$970fca50$c52f5ef0$@wang@firstwave.com.au> on 07/29/08(10:22:38)
you "David Wang" <pomhqbdyi.ml@ml.delegate.org> wrote:
 |Hi Yutaka,
 |
 |I did a test as you suggested, it seems working fine, and the log is as
 |below:
...
 |But when I tested with real environment, the response message is still from
 |builtin, rather than the changed html. The redirect seems working with
 |"07/29 11:01:02.11 [30177] 1+0: *** /-/builtin/mssgs/403-forbidden.dhtml =>
 |http://127.0.0.1:8080/delegate/builtin/mssgs/403-forbidden.dhtml ***", but
 |mounted seems failed with " Forbidden-Message (0 bytes) MOUNTED:
 |http://127.0.0.1:8080/delegate/builtin/mssgs/403-forbidden.dhtml", the
 |detailed log is as below:

You seem using old version of DeleGate as HTTPS server which could
be heavy and slow in HTTPS/SSL gateway.
Anyway it seem that MOUNT for /-/builtin/ does not work with HTTPS
even in the current version, though the behavior seems different.
It is fixed in the current version as the enclosed patch which is
expected to be applicable to recent versions.

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

*** dist/src/delegate9.8.4-pre2/src/stls.c	Sun Jan  6 02:49:33 2008
--- src/stls.c	Tue Jul 29 19:44:47 2008
***************
*** 348,353 ****
--- 348,358 ----
  	return 0;
  }
  int willSTLS_CL(Connection *Conn){
+ 	if( Conn->from_myself ){
+ 		sv1log("## STLS ## no client [%d/%d/%d] %X %s:%d\n",
+ 		    ClientSock,FromC,ToC,ClientFlags,Client_Host,Client_Port);
+ 		return 0;
+ 	}
  	if( (ClientFlags & PF_STLS_CHECKED) == 0 ){
  		CTX_pushClientInfo(Conn);
  		checkWithSTLS(Conn,"FCL",CLNT_PROTO,"");

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V