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

[DeleGate-En] Antwort: Re: [DeleGate-En] SSL Tunneling an php external script
03 Jan 2003 18:46:04 GMT


okay (2) i think i understood it now !.

back to (1)  the point is that a file in e.g. called script.php has to be 
excuted externally by the script engine e.g: /opt/php/php
the script engine then returns a whole html file back to server and the 
server to the client.
so what i want to do is to have the file parsed to the engine ( 
script-engine ) and the result to the client.
is there a way to do it.
I don't exactly know if this can be done via CFI ??

thanx (Yutaka Sato)
03.01.2003 01:58
Bitte antworten an feedback

        Thema:  Re: [DeleGate-En] SSL Tunneling an php external script


In message 
on 01/03/03(08:54:08) you wrote:
 |1) how do i implement in origin http mode to parse the .php files to the 

 |php engine ?
 |i have tried some of the steps listet in the feedback articels and the 
 |manual , but no luck !!!

I have no experience on PHP, but if your ".php" files follow the CGI
interface, then changing its suffix with ".cgi" will make DeleGate
recognize it as a CGI script file.  You can give a new file name with
".cgi" suffix as an alias of the original file as a hard/symbolic
link to original file, without changing the original file name.
Needless to say, the CGI script file, which can be written in any
script language including Perl or Sh or so, must have executable flag ON,
and contain "#!/path/of/script-interpreter" line at the top of file
if it is not a binary executable file but a script file.

 |2) is it possible to tunnel SSL-Delegate Servers through a http-proxy 
 |supporting HTTP1.1 SSL-connect
 |the scheme in need would be like follows:
 |client===>delegate===>  http-proxy  ===>Internet<===delegate===server
 |i have tried ssl mode between two delegate servers as described in the 
 |topic SSL but it didnt work

I'm not sure what you mean by "SSL-DeleGate".  As a possilbe case,
you can chain a DeleGate to a MASTER-DeleGate via SSL-tunneling
like follows:

  delegated -P9998 FMD=sslway SSLTUNNEL=http-proxy:8080 

  delegated -P9999 FCL=sslway

  @ @ Yutaka 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

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