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...@locus.apache.org on 2000/07/17 07:17:08 UTC
cvs commit: modperl-site/embperl Changes.pod.1.html Changes.pod.2.html Changes.pod.cont.html Embperl.pod.2.html Embperl.pod.3.html Embperl.pod.cont.html EmbperlObject.pod.1.html EmbperlObject.pod.2.html EmbperlObject.pod.3.html EmbperlObject.pod.4.html EmbperlObject.pod.cont.html INSTALL.pod.1.html Mail.pod.1.html Mail.pod.cont.html
richter 00/07/16 22:17:07
Modified: embperl Changes.pod.1.html Changes.pod.2.html
Changes.pod.cont.html Embperl.pod.2.html
Embperl.pod.3.html Embperl.pod.cont.html
EmbperlObject.pod.1.html EmbperlObject.pod.2.html
EmbperlObject.pod.3.html EmbperlObject.pod.4.html
EmbperlObject.pod.cont.html INSTALL.pod.1.html
Mail.pod.1.html Mail.pod.cont.html
Log:
Embperl Webpages - Changes
Revision Changes Path
1.161 +9 -10 modperl-site/embperl/Changes.pod.1.html
Index: Changes.pod.1.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Changes.pod.1.html,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -r1.160 -r1.161
--- Changes.pod.1.html 2000/07/16 17:46:26 1.160
+++ Changes.pod.1.html 2000/07/17 05:16:57 1.161
@@ -1,6 +1,6 @@
<HTML>
<HEAD>
-<TITLE>1.3b4_dev -- That's what currently under developement</TITLE>
+<TITLE>1.3b4 17.07.2000</TITLE>
<LINK REV="made" HREF="mailto:root@venus.gr.ecos.de">
</HEAD>
@@ -8,7 +8,7 @@
<blockquote>
<blockquote>
<H1><strong>
-<A NAME="1_3b4_dev_That_s_what_current">1.3b4_dev -- That's what currently under developement</a></strong></h1>
+<A NAME="1_3b4_BETA_17_07_2000">1.3b4 (BETA) 17.07.2000</a></strong></h1>
</blockquote>
</blockquote>
@@ -18,14 +18,6 @@
<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.3b3 (BETA) 25.04.2000)</a>] <br><hr>
<P>
-Last Update: Sun Jul 16 19:46:50 2000 (MET)
-
-<P>
-NOTE: This version is only available via <A HREF="CVS.pod.1.html#INTRO">"CVS"</A>
-
-
-
-<P>
<PRE> - New $escmode (or EMBPERL_ESCMODE) to disable the possiblilty
to turn off escaping with a leading backslash. Adding 4 to
any escmode will cause Embperl to do no special processing
@@ -65,6 +57,13 @@
and the Embperl request object is blessed into the packages of the
requested page, so you can do methods calls to subs that are defined
inside the requested page.
+ - correct spelling error and renamed ScanEnvironement to ScanEnvironment.
+ (ScanEnvironement still works).
+ - EmbperlObject can now be used also offline (via HTML::EmbperlObject::Execute)
+ - MailFormTo and HTML::Embperl::Mail::Execute now have a configuration
+ directive EMBPERL_MAILHELO, can be used to specify the host/domain for the
+ HELO/EHLO command. Suggested by Remco Brink.
+ - Fixed a bug that caused the default drive to be incorrectly set on Win 32.
</PRE>
<P>
<PRE>
1.40 +2 -2 modperl-site/embperl/Changes.pod.2.html
Index: Changes.pod.2.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Changes.pod.2.html,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- Changes.pod.2.html 2000/05/02 04:42:13 1.39
+++ Changes.pod.2.html 2000/07/17 05:16:57 1.40
@@ -16,7 +16,7 @@
<BR CLEAR=LEFT>
<blockquote>
<blockquote>
-[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3b4_dev -- That's what currently under developement)</a>] [<a href="Changes.pod.3.html">NEXT (1.3b2 (BETA) 11. Feb 2000)</a>] <br><hr>
+[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3b4 (BETA) 17.07.2000)</a>] [<a href="Changes.pod.3.html">NEXT (1.3b2 (BETA) 11. Feb 2000)</a>] <br><hr>
<P>
<PRE> - Fixed SIGSEGV which occurs in cleanup with Perl 5.6. Spotted by
Aaron Johnson.
@@ -57,7 +57,7 @@
Colons still work on Unix.
</PRE>
-<p>[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3b4_dev -- That's what currently under developement)</a>] [<a href="Changes.pod.3.html">NEXT (1.3b2 (BETA) 11. Feb 2000)</a>] <br>
+<p>[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">PREV (1.3b4 (BETA) 17.07.2000)</a>] [<a href="Changes.pod.3.html">NEXT (1.3b2 (BETA) 11. Feb 2000)</a>] <br>
<font color="#808080">___________________________________________________________________________________<br>
HTML::Embperl - Copyright (c) 1997-2000 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a>
</font></p>
1.40 +3 -3 modperl-site/embperl/Changes.pod.cont.html
Index: Changes.pod.cont.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Changes.pod.cont.html,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- Changes.pod.cont.html 2000/05/02 04:42:18 1.39
+++ Changes.pod.cont.html 2000/07/17 05:16:57 1.40
@@ -16,7 +16,7 @@
<BR CLEAR=LEFT>
<blockquote>
<blockquote>
-[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3b4_dev -- That's what currently under developement)</a>] <br><HTML>
+[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3b4 (BETA) 17.07.2000)</a>] <br><HTML>
<HEAD>
<TITLE>Revision History - Content</TITLE>
<LINK REV="made" HREF="mailto:root@venus.gr.ecos.de">
@@ -28,7 +28,7 @@
<UL>
- <LI><A href="Changes.pod.1.html#1_3b4_dev_That_s_what_current">1.3b4_dev - That's what currently under developement</A>
+ <LI><A href="Changes.pod.1.html#1_3b4_BETA_17_07_2000">1.3b4 (BETA) 17.07.2000</A>
<LI><A href="Changes.pod.2.html#1_3b3_BETA_25_04_2000">1.3b3 (BETA) 25.04.2000</A>
<LI><A href="Changes.pod.3.html#1_3b2_BETA_11_Feb_2000">1.3b2 (BETA) 11. Feb 2000</A>
<LI><A href="Changes.pod.4.html#1_2_1_5_Jan_2000">1.2.1 5. Jan 2000</A>
@@ -71,7 +71,7 @@
<LI><A href="Changes.pod.41.html#0_10beta_Jan_18_1997">0.10beta Jan 18 1997</A>
</UL>
<!-- INDEX END -->
-<hr><p>[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3b4_dev -- That's what currently under developement)</a>] <br>
+<hr><p>[<a href="index.html">HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.1.html">NEXT (1.3b4 (BETA) 17.07.2000)</a>] <br>
<font color="#808080">___________________________________________________________________________________<br>
HTML::Embperl - Copyright (c) 1997-2000 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a>
</font></p>
1.20 +1 -1 modperl-site/embperl/Embperl.pod.2.html
Index: Embperl.pod.2.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.2.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- Embperl.pod.2.html 2000/04/14 12:28:23 1.19
+++ Embperl.pod.2.html 2000/07/17 05:16:58 1.20
@@ -424,7 +424,7 @@
<STRONG>NOTE:</STRONG> You do not need to call Init in version >= 0.27. The initialization of
Embperl takes place automatically when it is loaded.
-<DT><STRONG><A NAME="item_HTML">HTML::Embperl::ScanEnvironement (\%params)</A></STRONG><DD>
+<DT><STRONG><A NAME="item_HTML">HTML::Embperl::ScanEnvironment (\%params)</A></STRONG><DD>
<P>
Scans the <STRONG>%ENV</STRONG> and setups <STRONG>%params</STRONG> for use by <STRONG>Execute</STRONG>. All Embperl runtime configuration options are recognized, except
EMBPERL_LOG.
1.16 +9 -0 modperl-site/embperl/Embperl.pod.3.html
Index: Embperl.pod.3.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.3.html,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Embperl.pod.3.html 2000/05/02 06:12:56 1.15
+++ Embperl.pod.3.html 2000/07/17 05:16:58 1.16
@@ -31,6 +31,7 @@
<LI><A href="Embperl.pod.3.html#EMBPERL_INPUT_FUNC">EMBPERL_INPUT_FUNC</A>
<LI><A href="Embperl.pod.3.html#EMBPERL_OUTPUT_FUNC">EMBPERL_OUTPUT_FUNC</A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAILHOST">EMBPERL_MAILHOST</A>
+ <LI><A href="Embperl.pod.3.html#EMBPERL_MAILHELO">EMBPERL_MAILHELO </A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAILFROM">EMBPERL_MAILFROM </A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAILDEBUG">EMBPERL_MAILDEBUG </A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAIL_ERRORS_TO">EMBPERL_MAIL_ERRORS_TO</A>
@@ -585,6 +586,14 @@
<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="EMBPERL_MAILHOST">EMBPERL_MAILHOST</A></H2>
<P>
Specifies which host the <A href="Embperl.pod.9.html#MailFormTo_MailTo_Subject_R">MailFormTo</A> function uses as SMTP server. Default is <STRONG>localhost</STRONG>.
+
+<P>
+<HR>
+<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="EMBPERL_MAILHELO">EMBPERL_MAILHELO</A></H2>
+<P>
+(only 1.3b4 or above) Specifies which host/domain the
+<A href="Embperl.pod.9.html#MailFormTo_MailTo_Subject_R">MailFormTo</A> function uses in the HELO/EHLO command. A reasonable default is normaly
+choosen by <EM>Net::SMTP</EM>, but depending on your installation it may neccessary to set it manualy.
<P>
<HR>
1.23 +1 -0 modperl-site/embperl/Embperl.pod.cont.html
Index: Embperl.pod.cont.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Embperl.pod.cont.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Embperl.pod.cont.html 2000/04/16 12:14:47 1.22
+++ Embperl.pod.cont.html 2000/07/17 05:16:58 1.23
@@ -56,6 +56,7 @@
<LI><A href="Embperl.pod.3.html#EMBPERL_INPUT_FUNC">EMBPERL_INPUT_FUNC</A>
<LI><A href="Embperl.pod.3.html#EMBPERL_OUTPUT_FUNC">EMBPERL_OUTPUT_FUNC</A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAILHOST">EMBPERL_MAILHOST</A>
+ <LI><A href="Embperl.pod.3.html#EMBPERL_MAILHELO">EMBPERL_MAILHELO </A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAILFROM">EMBPERL_MAILFROM </A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAILDEBUG">EMBPERL_MAILDEBUG </A>
<LI><A href="Embperl.pod.3.html#EMBPERL_MAIL_ERRORS_TO">EMBPERL_MAIL_ERRORS_TO</A>
1.3 +15 -3 modperl-site/embperl/EmbperlObject.pod.1.html
Index: EmbperlObject.pod.1.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/EmbperlObject.pod.1.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EmbperlObject.pod.1.html 2000/04/14 12:28:24 1.2
+++ EmbperlObject.pod.1.html 2000/07/17 05:16:58 1.3
@@ -18,11 +18,11 @@
<blockquote>
[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.cont.html">PREV (Documentation EmbperlObject - Content)</a>] [<a href="EmbperlObject.pod.2.html">NEXT (Runtime configuration)</a>] <br><hr>
<P>
-<EM>HTML::EmbperlObject</EM> is basicly a <EM>mod_perl</EM> handler that helps you to build a whole page out of smaller parts. Basicly
-it does the following:
+<EM>HTML::EmbperlObject</EM> is basicly a <EM>mod_perl</EM> handler or could be invoked offline and helps you to build a whole page out
+of smaller parts. Basicly it does the following:
<P>
-When a request comes in a page which name is specified by <EM>EMBPERL_OBJECT_BASE</EM>, is searched in the same directory as the requested page. If the pages
+When a request comes in a page, which name is specified by <EM>EMBPERL_OBJECT_BASE</EM>, is searched in the same directory as the requested page. If the pages
isn't found,
<EM>EmbperlObject</EM> walking up the directory tree until it finds the page, or it reaches <CODE>DocumentRoot</CODE> or the directory specified by <EM>EMBPERL_OBJECT_STOPDIR</EM>.
@@ -40,6 +40,18 @@
<P>
To include the original requested file, you need to call <CODE>Execute</CODE> with a <CODE>'*'</CODE> as filename.
+
+<P>
+Additionaly <EM>EmbperlObject</EM> sets up a inherence hierachie for you: The requested page inherit from the
+base page and the base page inherit from a class which could be specified
+by <CODE>EMBPERL_OBJECT_HANDLER_CLASS</CODE>, or if <CODE>EMBPERL_OBJECT_HANDLER_CLASS</CODE> is not set, from <CODE>HTML::Embperl::Req</CODE>. That allows you to define methods in base page and overwrite them as
+neccessary in the original requested files. For this purpose a request
+object, which is blessed into the package of the requested page, is given
+as first parameter to each page (in <CODE>$_[0]</CODE>). Because this request object is a hashref, you can also use it to store
+additional data, which should be available in all components.
+<EM>Embperl</EM> does not use this hash itself, so you are free to store whatever you want.
+Methods can be ordinary Perl sub's (defined with [! sub foo { ... } !] ) or
+Embperl sub's (defined with [$sub foo $] .... [$endsub $]) .
<p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.cont.html">PREV (Documentation EmbperlObject - Content)</a>] [<a href="EmbperlObject.pod.2.html">NEXT (Runtime configuration)</a>] <br>
<font color="#808080">___________________________________________________________________________________<br>
1.4 +20 -2 modperl-site/embperl/EmbperlObject.pod.2.html
Index: EmbperlObject.pod.2.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/EmbperlObject.pod.2.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- EmbperlObject.pod.2.html 2000/04/25 04:26:23 1.3
+++ EmbperlObject.pod.2.html 2000/07/17 05:16:59 1.4
@@ -16,13 +16,15 @@
<BR CLEAR=LEFT>
<blockquote>
<blockquote>
-[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.1.html">PREV (DESCRIPTION)</a>] [<a href="EmbperlObject.pod.3.html">NEXT (Example)</a>] <br> <UL>
+[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.1.html">PREV (DESCRIPTION)</a>] [<a href="EmbperlObject.pod.3.html">NEXT (Execute)</a>] <br> <UL>
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_DECLINE">EMBPERL_DECLINE</A>
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_FILESMATCH">EMBPERL_FILESMATCH</A>
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_BASE">EMBPERL_OBJECT_BASE</A>
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_STOPDIR">EMBPERL_OBJECT_STOPDIR</A>
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_ADDPATH">EMBPERL_OBJECT_ADDPATH</A>
+ <LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_FALLBACK">EMBPERL_OBJECT_FALLBACK</A>
+ <LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_HANDLER_CLASS">EMBPERL_OBJECT_HANDLER_CLASS</A>
</UL>
<hr>
<P>
@@ -64,7 +66,23 @@
Additional directories where to search for pages. Directories are separated
by <CODE>;</CODE> (on Unix <CODE>:</CODE> works also)
-<p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.1.html">PREV (DESCRIPTION)</a>] [<a href="EmbperlObject.pod.3.html">NEXT (Example)</a>] <br>
+<P>
+<HR>
+<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="EMBPERL_OBJECT_FALLBACK">EMBPERL_OBJECT_FALLBACK</A></H2>
+<P>
+If the requested file is not found the file given by <CODE>EMBPERL_OBJECT_FALLBACK</CODE>
+is displayed instead. If <CODE>EMBPERL_OBJECT_FALLBACK</CODE> isn't set a staus 404, NOT_FOUND is returned as usual. If the fileame given
+in
+<CODE>EMBPERL_OBJECT_FALLBACK</CODE> doesn't contain a path, it is searched thru the same directories as <CODE>EMBPERL_OBJECT_BASE</CODE>.
+
+<P>
+<HR>
+<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="EMBPERL_OBJECT_HANDLER_CLASS">EMBPERL_OBJECT_HANDLER_CLASS</A></H2>
+<P>
+If you specify this call the template base and the requested page inherit
+all methods from this class. This class must contain <CODE>HTML::Embperl::Req</CODE> in his <CODE>@ISA</CODE> array.
+
+<p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.1.html">PREV (DESCRIPTION)</a>] [<a href="EmbperlObject.pod.3.html">NEXT (Execute)</a>] <br>
<font color="#808080">___________________________________________________________________________________<br>
HTML::Embperl - Copyright (c) 1997-2000 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a>
</font></p>
1.3 +18 -134 modperl-site/embperl/EmbperlObject.pod.3.html
Index: EmbperlObject.pod.3.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/EmbperlObject.pod.3.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EmbperlObject.pod.3.html 2000/04/14 12:28:24 1.2
+++ EmbperlObject.pod.3.html 2000/07/17 05:16:59 1.3
@@ -1,6 +1,6 @@
<HTML>
<HEAD>
-<TITLE>Example</TITLE>
+<TITLE>Execute</TITLE>
<LINK REV="made" HREF="mailto:root@venus.gr.ecos.de">
</HEAD>
@@ -8,7 +8,7 @@
<blockquote>
<blockquote>
<H1><strong>
-<A NAME="Example">Example</a></strong></h1>
+<A NAME="Execute">Execute</a></strong></h1>
</blockquote>
</blockquote>
@@ -16,150 +16,34 @@
<BR CLEAR=LEFT>
<blockquote>
<blockquote>
-[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.2.html">PREV (Runtime configuration)</a>] [<a href="EmbperlObject.pod.4.html">NEXT (Author)</a>] <br><hr>
+[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.2.html">PREV (Runtime configuration)</a>] [<a href="EmbperlObject.pod.4.html">NEXT (Basic Example)</a>] <br><hr>
<P>
-With the following setup:
+You can use <EM>EmbperlObject</EM> also offline. You can do this by calling the function
+<CODE>HTML::EmbperlObject::Execute</CODE>. <CODE>Execute</CODE> takes a hashref as argument, which can contains the same parameters as the <CODE>HTML::Embperl::Execute</CODE> function. Additionaly you may specify the following parameters:
+<DL>
+<DT><STRONG><A NAME="item_object_base">object_base</A></STRONG><DD>
<P>
-<PRE> <Location /foo>
- PerlSetEnv EMBPERL_OBJECT_BASE base.htm
- PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$"
- SetHandler perl-script
- PerlHandler HTML::EmbperlObject
- Options ExecCGI
- </Location>
-</PRE>
-<P>
-<STRONG>Directory Layout:</STRONG>
-
-
+same as $ENV{EMBPERL_OBJECT_BASE}
+<DT><STRONG><A NAME="item_object_addpath">object_addpath</A></STRONG><DD>
<P>
-<PRE> /foo/base.htm
- /foo/head.htm
- /foo/foot.htm
- /foo/page1.htm
- /foo/sub/head.htm
- /foo/sub/page2.htm
-</PRE>
-<P>
-<STRONG>/foo/base.htm:</STRONG>
-
-
+same as $ENV{EMBPERL_OBJECT_ADDPATH}
+<DT><STRONG><A NAME="item_object_stopdir">object_stopdir</A></STRONG><DD>
<P>
-<PRE> <html>
- <head>
- <title>Example</title>
- </head>
- <body>
- [- Execute ('head.htm') -]
- [- Execute ('*') -]
- [- Execute ('foot.htm') -]
- </body>
- </html>
-</PRE>
-<P>
-<STRONG>/foo/head.htm:</STRONG>
-
-
+same as $ENV{EMBPERL_OBJECT_STOPDIR}
+<DT><STRONG><A NAME="item_object_fallback">object_fallback</A></STRONG><DD>
<P>
-<PRE> <h1>head from foo</h1>
-</PRE>
-<P>
-<STRONG>/foo/sub/head.htm:</STRONG>
-
+same as $ENV{EMBPERL_OBJECT_FALLBACK}
-
-<P>
-<PRE> <h1>another head from sub</h1>
-</PRE>
-<P>
-<STRONG>/foo/foot.htm:</STRONG>
-
-
-
-<P>
-<PRE> <hr> Footer <hr>
-</PRE>
+<DT><STRONG><A NAME="item_object_handler_class">object_handler_class</A></STRONG><DD>
<P>
-<STRONG>/foo/page1.htm:</STRONG>
-
+same as $ENV{EMBPERL_OBJECT_HANDLER_CLASS}
-
-<P>
-<PRE> PAGE 1
-</PRE>
-<P>
-<STRONG>/foo/sub/page2.htm:</STRONG>
-
-
-
-<P>
-<PRE> PAGE 2
-</PRE>
-<P>
-<STRONG>/foo/sub/index.htm:</STRONG>
-
-
-
-<P>
-<PRE> Index of /foo/sub
-</PRE>
-<P>
-If you now request <STRONG>http://host/foo/page1.htm</STRONG> you will get the following page
-
-<P>
-<PRE>
- <html>
- <head>
- <title>Example</title>
- </head>
- <body>
- <h1>head from foo</h1>
- PAGE 1
- <hr> Footer <hr>
- </body>
- </html>
-</PRE>
-<P>
-If you now request <STRONG>http://host/foo/sub/page2.htm</STRONG> you will get the following page
-
-<P>
-<PRE>
- <html>
- <head>
- <title>Example</title>
- </head>
- <body>
- <h1>another head from sub</h1>
- PAGE 2
- <hr> Footer <hr>
- </body>
- </html>
-</PRE>
-<P>
-If you now request <STRONG>http://host/foo/sub/</STRONG> you will get the following page
-
-<P>
-<PRE>
- <html>
- <head>
- <title>Example</title>
- </head>
- <body>
- <h1>another head from sub</h1>
- Index of /foo/sub
- <hr> Footer <hr>
- </body>
- </html>
-</PRE>
-<P>
-<PRE>
-
-</PRE>
-<p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.2.html">PREV (Runtime configuration)</a>] [<a href="EmbperlObject.pod.4.html">NEXT (Author)</a>] <br>
+</DL>
+<p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.2.html">PREV (Runtime configuration)</a>] [<a href="EmbperlObject.pod.4.html">NEXT (Basic Example)</a>] <br>
<font color="#808080">___________________________________________________________________________________<br>
HTML::Embperl - Copyright (c) 1997-2000 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a>
</font></p>
1.3 +143 -5 modperl-site/embperl/EmbperlObject.pod.4.html
Index: EmbperlObject.pod.4.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/EmbperlObject.pod.4.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EmbperlObject.pod.4.html 2000/04/14 12:28:24 1.2
+++ EmbperlObject.pod.4.html 2000/07/17 05:16:59 1.3
@@ -1,6 +1,6 @@
<HTML>
<HEAD>
-<TITLE>Author</TITLE>
+<TITLE>Basic Example</TITLE>
<LINK REV="made" HREF="mailto:root@venus.gr.ecos.de">
</HEAD>
@@ -8,7 +8,7 @@
<blockquote>
<blockquote>
<H1><strong>
-<A NAME="Author">Author</a></strong></h1>
+<A NAME="Basic_Example">Basic Example</a></strong></h1>
</blockquote>
</blockquote>
@@ -16,11 +16,149 @@
<BR CLEAR=LEFT>
<blockquote>
<blockquote>
-[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.3.html">PREV (Example)</a>] <br><hr>
+[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.3.html">PREV (Execute)</a>] [<a href="EmbperlObject.pod.5.html">NEXT (Example for using method calls)</a>] <br><hr>
<P>
-G. Richter (<A HREF="mailto:richter@dev.ecos.de">richter@dev.ecos.de</A>)
+With the following setup:
-<p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.3.html">PREV (Example)</a>] <br>
+<P>
+<PRE> <Location /foo>
+ PerlSetEnv EMBPERL_OBJECT_BASE base.htm
+ PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$"
+ SetHandler perl-script
+ PerlHandler HTML::EmbperlObject
+ Options ExecCGI
+ </Location>
+</PRE>
+<P>
+<STRONG>Directory Layout:</STRONG>
+
+
+
+<P>
+<PRE> /foo/base.htm
+ /foo/head.htm
+ /foo/foot.htm
+ /foo/page1.htm
+ /foo/sub/head.htm
+ /foo/sub/page2.htm
+</PRE>
+<P>
+<STRONG>/foo/base.htm:</STRONG>
+
+
+
+<P>
+<PRE> <html>
+ <head>
+ <title>Example</title>
+ </head>
+ <body>
+ [- Execute ('head.htm') -]
+ [- Execute ('*') -]
+ [- Execute ('foot.htm') -]
+ </body>
+ </html>
+</PRE>
+<P>
+<STRONG>/foo/head.htm:</STRONG>
+
+
+
+<P>
+<PRE> <h1>head from foo</h1>
+</PRE>
+<P>
+<STRONG>/foo/sub/head.htm:</STRONG>
+
+
+
+<P>
+<PRE> <h1>another head from sub</h1>
+</PRE>
+<P>
+<STRONG>/foo/foot.htm:</STRONG>
+
+
+
+<P>
+<PRE> <hr> Footer <hr>
+</PRE>
+<P>
+<STRONG>/foo/page1.htm:</STRONG>
+
+
+
+<P>
+<PRE> PAGE 1
+</PRE>
+<P>
+<STRONG>/foo/sub/page2.htm:</STRONG>
+
+
+
+<P>
+<PRE> PAGE 2
+</PRE>
+<P>
+<STRONG>/foo/sub/index.htm:</STRONG>
+
+
+
+<P>
+<PRE> Index of /foo/sub
+</PRE>
+<P>
+If you now request <STRONG>http://host/foo/page1.htm</STRONG> you will get the following page
+
+<P>
+<PRE>
+ <html>
+ <head>
+ <title>Example</title>
+ </head>
+ <body>
+ <h1>head from foo</h1>
+ PAGE 1
+ <hr> Footer <hr>
+ </body>
+ </html>
+</PRE>
+<P>
+If you now request <STRONG>http://host/foo/sub/page2.htm</STRONG> you will get the following page
+
+<P>
+<PRE>
+ <html>
+ <head>
+ <title>Example</title>
+ </head>
+ <body>
+ <h1>another head from sub</h1>
+ PAGE 2
+ <hr> Footer <hr>
+ </body>
+ </html>
+</PRE>
+<P>
+If you now request <STRONG>http://host/foo/sub/</STRONG> you will get the following page
+
+<P>
+<PRE>
+ <html>
+ <head>
+ <title>Example</title>
+ </head>
+ <body>
+ <h1>another head from sub</h1>
+ Index of /foo/sub
+ <hr> Footer <hr>
+ </body>
+ </html>
+</PRE>
+<P>
+<PRE>
+</PRE>
+<p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.3.html">PREV (Execute)</a>] [<a href="EmbperlObject.pod.5.html">NEXT (Example for using method calls)</a>] <br>
<font color="#808080">___________________________________________________________________________________<br>
HTML::Embperl - Copyright (c) 1997-2000 Gerald Richter / <a href="http://www.ecos.de/">ecos gmbh</a>
</font></p>
1.3 +6 -2 modperl-site/embperl/EmbperlObject.pod.cont.html
Index: EmbperlObject.pod.cont.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/EmbperlObject.pod.cont.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EmbperlObject.pod.cont.html 2000/04/14 12:28:24 1.2
+++ EmbperlObject.pod.cont.html 2000/07/17 05:16:59 1.3
@@ -37,10 +37,14 @@
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_BASE">EMBPERL_OBJECT_BASE</A>
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_STOPDIR">EMBPERL_OBJECT_STOPDIR</A>
<LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_ADDPATH">EMBPERL_OBJECT_ADDPATH</A>
+ <LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_FALLBACK">EMBPERL_OBJECT_FALLBACK</A>
+ <LI><A href="EmbperlObject.pod.2.html#EMBPERL_OBJECT_HANDLER_CLASS">EMBPERL_OBJECT_HANDLER_CLASS</A>
</UL>
- <LI><A href="EmbperlObject.pod.3.html#Example">Example</A>
- <LI><A href="EmbperlObject.pod.4.html#Author">Author</A>
+ <LI><A href="EmbperlObject.pod.3.html#Execute">Execute</A>
+ <LI><A href="EmbperlObject.pod.4.html#Basic_Example">Basic Example</A>
+ <LI><A href="EmbperlObject.pod.5.html#Example_for_using_method_calls">Example for using method calls</A>
+ <LI><A href="EmbperlObject.pod.6.html#Author">Author</A>
</UL>
<!-- INDEX END -->
<hr><p>[<a href="index.html">HOME</a>] [<a href="EmbperlObject.pod.cont.html">CONTENT</a>] [<a href="EmbperlObject.pod.1.html">NEXT (DESCRIPTION)</a>] <br>
1.13 +16 -4 modperl-site/embperl/INSTALL.pod.1.html
Index: INSTALL.pod.1.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/INSTALL.pod.1.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- INSTALL.pod.1.html 2000/04/14 12:28:25 1.12
+++ INSTALL.pod.1.html 2000/07/17 05:16:59 1.13
@@ -61,8 +61,8 @@
<P>
<STRONG>NOTE 1:</STRONG> (only Embperl-1.2b1 or higher) For using session handling you need
-Apache::Session-0.17 or higher. If possible use Apache::Session 1.00 or
-higher.
+Apache::Session-0.17 or higher. If possible use Apache::Session 1.00.
+Currently Apache::Session 1.50 or higher is <STRONG>not</STRONG> supported. (Coming soon)
<P>
<STRONG>NOTE 2:</STRONG> <EM>Embperl</EM> runs without additional Perl modules, but the <CODE>make test</CODE>
@@ -79,6 +79,12 @@
<LI><STRONG><A NAME="item_libwin32">libwin32 (only Win32)</A></STRONG>
</UL>
<P>
+<STRONG>NOTE 3:</STRONG> <EM>EmbperlObject</EM> needs the following modules to work:
+
+<UL>
+<LI><STRONG><A NAME="item_File">File::Spec</A></STRONG>
+</UL>
+<P>
If you have already successfully build and tested <CODE>mod_perl</CODE> all modules will already be there.
<P>
@@ -140,8 +146,8 @@
<P>
<STRONG>NOTE 1:</STRONG> (only Embperl-1.2b1 or higher) For using session handling you need
-Apache::Session-0.17 or higher. If possible use Apache::Session 1.00 or
-higher.
+Apache::Session-0.17 or higher. If possible use Apache::Session 1.00.
+Currently Apache::Session 1.50 or higher is <STRONG>not</STRONG> supported. (Coming soon)
<P>
<STRONG>NOTE 2:</STRONG> <EM>Embperl</EM> runs without additional Perl modules, but the <CODE>make test</CODE>
@@ -156,6 +162,12 @@
<LI><STRONG>libnet</STRONG>
<LI><STRONG>libwww</STRONG>
<LI><STRONG>libwin32 (only Win32)</STRONG>
+</UL>
+<P>
+<STRONG>NOTE 3:</STRONG> <EM>EmbperlObject</EM> needs the following modules to work:
+
+<UL>
+<LI><STRONG>File::Spec</STRONG>
</UL>
<P>
If you have already successfully build and tested <CODE>mod_perl</CODE> all modules will already be there.
1.3 +13 -0 modperl-site/embperl/Mail.pod.1.html
Index: Mail.pod.1.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Mail.pod.1.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Mail.pod.1.html 2000/04/14 12:28:27 1.2
+++ Mail.pod.1.html 2000/07/17 05:16:59 1.3
@@ -21,6 +21,7 @@
<LI><A href="Mail.pod.1.html#Execute">Execute</A>
<LI><A href="Mail.pod.1.html#Configuration">Configuration</A>
<LI><A href="Mail.pod.1.html#EMBPERL_MAILHOST">EMBPERL_MAILHOST</A>
+ <LI><A href="Mail.pod.1.html#EMBPERL_MAILHELO">EMBPERL_MAILHELO</A>
<LI><A href="Mail.pod.1.html#EMBPERL_MAILFROM">EMBPERL_MAILFROM </A>
<LI><A href="Mail.pod.1.html#EMBPERL_MAILDEBUG">EMBPERL_MAILDEBUG </A>
</UL>
@@ -76,6 +77,11 @@
<P>
Specifies which host to use as SMTP server. Default is <STRONG>localhost</STRONG>.
+<DT><STRONG><A NAME="item_mailhelo">mailhelo</A></STRONG><DD>
+<P>
+Specifies which host/domain to use in the HELO/EHLO command. A reasonable
+default is normaly choosen by <EM>Net::SMTP</EM>, but depending on your installation it may neccessary to set it manualy.
+
<DT><STRONG><A NAME="item_maildebug">maildebug</A></STRONG><DD>
<P>
Set to 1 to enable debugging of mail transfer.
@@ -108,6 +114,13 @@
<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="EMBPERL_MAILHOST">EMBPERL_MAILHOST</A></H2>
<P>
Specifies which host to use as SMTP server. Default is <STRONG>localhost</STRONG>.
+
+<P>
+<HR>
+<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="EMBPERL_MAILHELO">EMBPERL_MAILHELO</A></H2>
+<P>
+Specifies which host/domain to use in the HELO/EHLO command. A reasonable
+default is normaly choosen by <EM>Net::SMTP</EM>, but depending on your installation it may neccessary to set it manualy.
<P>
<HR>
1.3 +1 -0 modperl-site/embperl/Mail.pod.cont.html
Index: Mail.pod.cont.html
===================================================================
RCS file: /home/cvs/modperl-site/embperl/Mail.pod.cont.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Mail.pod.cont.html 2000/04/14 12:28:27 1.2
+++ Mail.pod.cont.html 2000/07/17 05:17:00 1.3
@@ -34,6 +34,7 @@
<LI><A href="Mail.pod.1.html#Execute">Execute</A>
<LI><A href="Mail.pod.1.html#Configuration">Configuration</A>
<LI><A href="Mail.pod.1.html#EMBPERL_MAILHOST">EMBPERL_MAILHOST</A>
+ <LI><A href="Mail.pod.1.html#EMBPERL_MAILHELO">EMBPERL_MAILHELO</A>
<LI><A href="Mail.pod.1.html#EMBPERL_MAILFROM">EMBPERL_MAILFROM </A>
<LI><A href="Mail.pod.1.html#EMBPERL_MAILDEBUG">EMBPERL_MAILDEBUG </A>
</UL>