>>I`ve implemented a callback function EMBPERL_INPUT_FUNC for encrypting the
>>source code, but Embperl (1.3.3-dev) is calling it only for *.epl files and
>>not for *.phtml files.
GR> Looks like you have setup the INPUT_FUNC only for epl files in your
GR> httpd.conf. If this isn't the problem, please send us the part of your
GR> httpd.conf where you setup Embperl.

SetEnv EMBPERL_LOG 'd:\temp\embperl.log'
SetEnv EMBPERL_MAILHOST "lamed"
SetEnv EMBPERL_OBJECT_BASE "base.epl"
SetEnv EMBPERL_OBJECT_STOPDIR 'd:/Inetpub/wwwroot/suar'
SetEnv EMBPERL_OBJECT_ADDPATH 'd:/Inetpub/wwwroot/suar/default'
SetEnv EMBPERL_ESCMODE 0
SetEnv EMBPERL_COOKIE_NAME "WSID_TEST"
SetEnv EMBPERL_COOKIE_EXPIRES "+30m"
SetEnv EMBPERL_SESSION_HANDLER_CLASS "Weber::Session::Embperl"
SetEnv EMBPERL_SESSION_CLASSES "Weber::Session::DB_File Null Null 
Weber::Session::IdGenerator::BASE64"
SetEnv EMBPERL_SESSION_ARGS "directory=D:/TEMP/SESSIONS"
SetEnv EMBPERL_INPUT_FUNC "WeberUtil::read_encrypted_file"
SetEnv EMBPERL_DEBUG 0
SetEnv EMBPERL_OPTIONS 48

<FilesMatch "\.(epl|phtml)$">
        SetHandler  perl-script
    PerlHandler HTML::EmbperlObject
    Options     ExecCGI
</FilesMatch>

<Files *.pshtml>
        SetHandler  perl-script
    PerlHandler HTML::Embperl
    Options     ExecCGI
</Files>

AddType text/html .epl
AddType text/html .phtml
AddType text/html .pshtml

GR> P.S. Did you look into crypto/README. Doesn't this fit for you ?
No, I need to implement my own cipher. There is used some fixed SSL ciphers...
and re-implementing should be a bit complicated I suppose.


Regards

  Lukas Zapletal [[EMAIL PROTECTED]]
  web programmer
  Bach systems Ltd., Czech Republic

  ----------- PGP FINGERPRINT ------------
  4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
  --------------- COOKIE -----------------
  Linux: Because rebooting is for adding new hardware


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to