You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by ri...@hyperreal.org on 1999/11/01 09:26:31 UTC
cvs commit: modperl-site/embperl Changes.pod.1.html Embperl.pod.1.html Embperl.pod.6.html Embperl.pod.cont.html index.html
richter 99/11/01 00:26:30
Modified: embperl Changes.pod.1.html Embperl.pod.1.html
Embperl.pod.6.html Embperl.pod.cont.html index.html
Log:
Embperl Webpages - Changes
Revision Changes Path
1.102 +5 -1 modperl-site/embperl/Changes.pod.1.html
Index: Changes.pod.1.html
===================================================================
RCS file: /export/home/cvs/modperl-site/embperl/Changes.pod.1.html,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- Changes.pod.1.html 1999/10/30 15:31:18 1.101
+++ Changes.pod.1.html 1999/11/01 08:26:28 1.102
@@ -18,7 +18,7 @@
<blockquote>
[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.cont.html">PREV (Revision History - Content)</a>] [<a href="Changes.pod.2.html">NEXT (1.2b10 (BETA) 7 Oct. 1999)</a>] <br><hr>
<P>
-Last Update: Sat Oct 30 17:31:26 1999 (MET)
+Last Update: Mon Nov 1 09:25:33 1999 (MET)
<P>
NOTE: This version is only available via <A HREF="CVS.pod.1.html#INTRO">"CVS"</A>
@@ -30,6 +30,10 @@
let Apache return the correct status line. Patch from Jason Holt.
- Fixed problem that Apache SIGSEGVs when an error message contains
a %x. Spotted by Ed Park.
+ - Added missing BEGIN block in docs for Session handling.
+ - Fixed an endless loop that occured when tainting is on and
+ the same document is called two times via Execute. With help
+ from Jason Holt.
</PRE>
<p>[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.cont.html">PREV (Revision History - Content)</a>] [<a href="Changes.pod.2.html">NEXT (1.2b10 (BETA) 7 Oct. 1999)</a>] <br>
<font color="#808080">___________________________________________________________________________________<br>
1.11 +10 -4 modperl-site/embperl/Embperl.pod.1.html
Index: Embperl.pod.1.html
===================================================================
RCS file: /export/home/cvs/modperl-site/embperl/Embperl.pod.1.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Embperl.pod.1.html 1999/10/13 05:48:36 1.10
+++ Embperl.pod.1.html 1999/11/01 08:26:28 1.11
@@ -20,7 +20,6 @@
<LI><A href="Embperl.pod.1.html#Offline">Offline</A>
<LI><A href="Embperl.pod.1.html#As_a_CGI_script">As a CGI script</A>
- <LI><A href="Embperl.pod.1.html#From_mod_perl_Apache_httpd_">From mod_perl (Apache httpd)</A>
<LI><A href="Embperl.pod.1.html#By_calling_HTML_Embperl_Execut">By calling HTML::Embperl::Execute (\%param)</A>
<LI><A href="Embperl.pod.1.html#Helper_functions_for_Execute">Helper functions for Execute</A>
<LI><A href="Embperl.pod.1.html#EXAMPLES_for_Execute_">EXAMPLES for Execute:</A>
@@ -128,12 +127,14 @@
</Directory>
</PRE>
<P>
-<STRONG>NOTE</STRONG> Out of security reasons, embpexec.pl must not be used anymore as CGI
+<STRONG>NOTE 1</STRONG>: Out of security reasons, embpexec.pl must not be used anymore as CGI
script!
<P>
-<HR>
-<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="From_mod_perl_Apache_httpd_">From mod_perl (Apache httpd)</A></H2>
+<STRONG>NOTE 2</STRONG>: CGI Scripts are not so secure. You should consider using <EM>EMBPERL_ALLOW</EM>
+to restrict the access to the rights documents. =head2 From mod_perl
+(Apache httpd)
+
<P>
This works like the CGI-Script, but with the advantage that the script is
compiled only once at server startup, where other one-time actions (such as
@@ -190,6 +191,11 @@
<P>
See the section <A href="Embperl.pod.2.html#EMBPERL_DEBUG">EMBPERL_DEBUG</A> (dbgLogLink and EMBPERL_VIRTLOG) to find out how you can configure Embperl
so you can view the log file with your browser!
+
+<P>
+<STRONG>NOTE</STRONG>: When mod_perl is compiled as loadable module (i.e. with USE_DSO) you
+<STRONG>must not</STRONG> load Embperl at server startup time!
+
<P>
<HR>
1.11 +16 -12 modperl-site/embperl/Embperl.pod.6.html
Index: Embperl.pod.6.html
===================================================================
RCS file: /export/home/cvs/modperl-site/embperl/Embperl.pod.6.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Embperl.pod.6.html 1999/10/30 15:31:18 1.10
+++ Embperl.pod.6.html 1999/11/01 08:26:29 1.11
@@ -36,18 +36,22 @@
a <STRONG>startup.pl</STRONG> for your httpd which looks like this:
<P>
-<PRE> BEGIN
- {
+<PRE> BEGIN
+ {
$ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker" ;
- $ENV{EMBPERL_SESSION_ARGS} = "DataSource=dbi:mysql:session UserName=test" ;
- } ;
+ $ENV{EMBPERL_SESSION_ARGS} = "DataSource=dbi:mysql:session UserName=test" ;
+ } ;
</PRE>
<P>
<PRE> use Apache::Session::Embperl ;
use HTML::Embperl ;
+
+For B<Solaris> it's neccessary to set the C<nsems> Argument of SysVSemaphoreLocker
+
+ $Apache::Session::SysVSemaphoreLocker::nsems = 16;
</PRE>
<P>
-or put it in the httpd/srm.conf like this
+You may also put this in the httpd/srm.conf:
<P>
<PRE> PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
@@ -60,13 +64,13 @@
arguments for Apache::Session classes.
<P>
-<PRE>
-B<NOTE:> Apache::Session 1.04 needs a totaly different setup then Apache::Session 0.17
-
-Older versions of I<Embperl> need I<Apache::Session> 0.17. You can use it like
-the following,
-B<but you should as soon as possible upgrade to newer Apache::Session an Embperl version>:
-</PRE>
+<STRONG>NOTE:</STRONG> Apache::Session 1.04 needs a totaly different setup then Apache::Session
+0.17
+
+<P>
+Older versions of <EM>Embperl</EM> need <EM>Apache::Session</EM> 0.17. You can use it like the following,
+<STRONG>but you should as soon as possible upgrade to newer Apache::Session an Embperl version</STRONG>:
+
<P>
<PRE> $ENV{SESSION_FILE_DIRECTORY}='/tmp/sessions' ;
$ENV{EMBPERL_SESSION_CLASS}='File' ;
1.16 +1 -1 modperl-site/embperl/Embperl.pod.cont.html
Index: Embperl.pod.cont.html
===================================================================
RCS file: /export/home/cvs/modperl-site/embperl/Embperl.pod.cont.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Embperl.pod.cont.html 1999/10/21 05:46:42 1.15
+++ Embperl.pod.cont.html 1999/11/01 08:26:29 1.16
@@ -33,7 +33,7 @@
<LI><A href="Embperl.pod.1.html#Offline">Offline</A>
<LI><A href="Embperl.pod.1.html#As_a_CGI_script">As a CGI script</A>
- <LI><A href="Embperl.pod.1.html#From_mod_perl_Apache_httpd_">From mod_perl (Apache httpd)</A>
+ <LI><A href="Embperl.pod.cont.html#From_mod_perl_Apache_httpd_">From mod_perl (Apache httpd)</A>
<LI><A href="Embperl.pod.1.html#By_calling_HTML_Embperl_Execut">By calling HTML::Embperl::Execute (\%param)</A>
<LI><A href="Embperl.pod.1.html#Helper_functions_for_Execute">Helper functions for Execute</A>
<LI><A href="Embperl.pod.1.html#EXAMPLES_for_Execute_">EXAMPLES for Execute:</A>
1.47 +0 -0 modperl-site/embperl/index.html
Index: index.html
===================================================================
RCS file: /export/home/cvs/modperl-site/embperl/index.html,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- index.html 1999/10/30 15:31:18 1.46
+++ index.html 1999/11/01 08:26:29 1.47
@@ -207,7 +207,7 @@
<blockquote>
<p><font color="#808080">___________________________________________________________________________________<br>
HTML::Embperl - Copyright (c) 1997-99 Gerald Richter / ECOS <richter@dev.ecos.de><br>
- Last Update $Id: index.html,v 1.46 1999/10/30 15:31:18 richter Exp $</font></p>
+ Last Update $Id: index.html,v 1.47 1999/11/01 08:26:29 richter Exp $</font></p>
</blockquote>
</td></tr><!--msnavigation--></table></body>
</html>