You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ruben Safir <ru...@www2.mrbrklyn.com> on 2005/06/12 20:57:22 UTC

mod_perl/embperl compiling

I finished with the embperl compiling for apache2 and I'm a little
bewildered, being this is my first look at apach2.

Does it not take anymore, the need to compile mod_perl into apache2 and with
embperl explicitley, like I used to have to do?  Or is this now all done through
and conf system?

Ruben


-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
> 
> Could you more in detail describe what you try to do and what works and what
> doesn't?
> 
> Gerald
> 


Maybe you'll see something I'm missing.  Heres the whole httpd.conf file
version 1000012233


> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
I out of ideas.  I've never had problems installing this before
with Apache 1.3

Something is fundementally not correct either on the compile or
the configuration.

Ruben

On Mon, Jun 20, 2005 at 07:31:56AM +0200, Gerald Richter wrote:
> > 
> > Actually it does seem to be open with lsof, but no log file.  
> > Should I open one in /tmp ?
> > 
> 
> The log file is opened on the first request, so it is ok that it isn't open
> at this time
> 
> Also your httpd.conf seems to be ok, could you just add a line
> 
> Embperl_UseEnv	on
> 
> Does Apache still start? If yes, Embperl is correctly compiled and
> installed.
> 
> Maybe there are some hints in the error log?
> 
> Could you more in detail describe what you try to do and what works and what
> doesn't?
> 
> Gerald
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
It looks like a CGI without ScriptAlias

Ruben

On Mon, 2005-06-20 at 01:31, Gerald Richter wrote:
> > 
> > Actually it does seem to be open with lsof, but no log file.  
> > Should I open one in /tmp ?
> > 
> 
> The log file is opened on the first request, so it is ok that it isn't open
> at this time
> 
> Also your httpd.conf seems to be ok, could you just add a line
> 
> Embperl_UseEnv	on
> 
> Does Apache still start? If yes, Embperl is correctly compiled and
> installed.
> 
> Maybe there are some hints in the error log?
> 
> Could you more in detail describe what you try to do and what works and what
> doesn't?
> 
> Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
I see this in the strace


16229 stat64("/usr/local/apache2/lib/perl", 0xbffff0dc) = -1 ENOENT (No
such file or directory)
16229 stat64("/usr/lib/perl5/5.8.5/i586-linux-thread-multi/Embperl.pmc",
0xbfffee60) = -1 ENOENT (No such file or directory)
16229 open("/usr/lib/perl5/5.8.5/i586-linux-thread-multi/Embperl.pm",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
16229 stat64("/usr/lib/perl5/5.8.5/Embperl.pmc", 0xbfffee60) = -1 ENOENT
(No such file or directory)
16229 open("/usr/lib/perl5/5.8.5/Embperl.pm", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
16229
stat64("/usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/Embperl.pmc", 0xbfffee60) = -1 ENOENT (No such file or directory)
16229
open("/usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/Embperl.pm", O_RDONLY|O_LARGEFILE) = 9
16229 ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffec68) = -1 ENOTTY
(Inappropriate ioctl for device)
16229 _llseek(9, 0, [0], SEEK_CUR)      = 0


On Mon, 2005-06-20 at 03:16, Gerald Richter wrote:
> > 
> > That just seems to have the same behavior under the new x directory.
> > 
> > and without the x there, I look the forward to index.html 
> > with the URI of http://www.nylxs.com
> > 
> > Does embperl require that I make an alias for its locations?
> > 
> 
> No
> 
> Could you send your full httpd.conf?
> 
> Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
On Mon, Jun 20, 2005 at 04:46:40PM +0200, Gerald Richter wrote:
> > 
> > > 
> > > <VirtualHost *:80>
> > >     ServerAdmin ruben@mrbrklyn.com
> > >     DocumentRoot "/usr/local/apache/htdocs/nylxs"
> > >     DirectoryIndex index.html index.html.var
> > >     ServerName www.nylxs.com
> > >     PerlModule Embperl
> > >     Embperl_UseEnv        on
> > >     ErrorLog logs/nylxs_error_log
> > >     CustomLog logs/nylxs_access_log common
> > >     <Location "/x" >
> > >            SetHandler  perl
> > >            PerlHandler Embperl
> > >            Options     ExecCGI
> > >     </Location>
> > > </VirtualHost>
> > > 
> > 
> > I got it. It is SetHandler perl-script
> 
> Oops, Yes must be perl-script. I really have overseen this!

That happened from cutting and pasting from the docs.  It got weird chars
rather than the -script.  I mention this just for future reference.

> 
> I don't see a 
> 
> AddType text/html .html
> 
> In your httpd.conf

It doesn't seem to get any bytes and it seems to only happen in the
directories which are handled by embperl, which didn't happen in the
ole days.

BTW - when you come to New York next time, I now owe you 2 steakes

Ruben


-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Getting index.html on a directory

Posted by Ruben Safir <ru...@mrbrklyn.com>.
Does anyone know why I can't get the index.html to translate from a
directory under Embperl.  I think I've had this discussion before, but
can't find the email.  The httpd.conf file looks like this

 
<VirtualHost *:80>
    ServerAdmin ruben@mrbrklyn.com
    DocumentRoot "/usr/local/apache/htdocs/nylxs"
    ServerName www.nylxs.com
    PerlModule Embperl
    Embperl_UseEnv        on
    ErrorLog logs/nylxs_error_log
    CustomLog logs/nylxs_access_log common
    DirectoryIndex index.html
    <Directory /usr/local/apache/htdocs/nylxs>
           SetHandler  perl-script
           PerlHandler Embperl
           Options     ExecCGI
           AllowOverride None
           Order allow,deny
           Allow from all
           DirectoryIndex index.html
    </Directory>
    <Location "/images">
        SetHandler none
    </Location>
</VirtualHost>


Ruben


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
On Tue, Jun 21, 2005 at 05:48:00AM +0200, Gerald Richter wrote:
> > 
> > I'm getting this from the debugging now
> > 
> > www2:/usr/local/apache2/conf # tail -f  /tmp/embperl.log
> > [27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 
> > text=><= (#1) SVs=13610
> > [27861]CACHE: Free content for
> > *file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompil
> 
> Embperl picks up the directory instead of mod_index, that depends on the
> load order. Mod_index has to process the directory first (and will turn it
> into index.html, which can be handled by Embperl).
> 
> The other solution is the wrap the Embperl settings inside a <Files *.html>
> block, this will make sure that the directoty is not handled by Embperl

This will also eliminate the problem with graphics.  I'm not even understanding why
Embperl suddenly is not choking on graphics before I even added the exception to /images.

Ruben


-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
> 
> How is that happening.  Where is mod_index loaded?
> 

It's either compiled into httpd (httpd -l lists the compiled in modules) or
loaded with LoadModule.

In Apache 1.3. you could use AddModule to change the processing order, I am
not sure if something similar exists for 2.0

Gerald



> Ruben
> 
> 
> On Mon, 2005-06-20 at 23:48, Gerald Richter wrote:
> > > 
> > > I'm getting this from the debugging now
> > > 
> > > www2:/usr/local/apache2/conf # tail -f  /tmp/embperl.log
> > > [27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 text=><= 
> > > (#1) SVs=13610
> > > [27861]CACHE: Free content for
> > > *file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompil
> > 
> > Embperl picks up the directory instead of mod_index, that 
> depends on 
> > the load order. Mod_index has to process the directory 
> first (and will 
> > turn it into index.html, which can be handled by Embperl).
> > 
> > The other solution is the wrap the Embperl settings inside a <Files 
> > *.html> block, this will make sure that the directoty is 
> not handled 
> > by Embperl
> > 
> > Gerald
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
How is that happening.  Where is mod_index loaded?

Ruben


On Mon, 2005-06-20 at 23:48, Gerald Richter wrote:
> > 
> > I'm getting this from the debugging now
> > 
> > www2:/usr/local/apache2/conf # tail -f  /tmp/embperl.log
> > [27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 
> > text=><= (#1) SVs=13610
> > [27861]CACHE: Free content for
> > *file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompil
> 
> Embperl picks up the directory instead of mod_index, that depends on the
> load order. Mod_index has to process the directory first (and will turn it
> into index.html, which can be handled by Embperl).
> 
> The other solution is the wrap the Embperl settings inside a <Files *.html>
> block, this will make sure that the directoty is not handled by Embperl
> 
> Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
> 
> I'm getting this from the debugging now
> 
> www2:/usr/local/apache2/conf # tail -f  /tmp/embperl.log
> [27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 
> text=><= (#1) SVs=13610
> [27861]CACHE: Free content for
> *file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompil

Embperl picks up the directory instead of mod_index, that depends on the
load order. Mod_index has to process the directory first (and will turn it
into index.html, which can be handled by Embperl).

The other solution is the wrap the Embperl settings inside a <Files *.html>
block, this will make sure that the directoty is not handled by Embperl

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
I'm getting this from the debugging now

www2:/usr/local/apache2/conf # tail -f  /tmp/embperl.log 
[27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 text=><= (#1)
SVs=13610
[27861]CACHE: Free content for
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompile:*eprun:
[27861]Delete: DomTree = 2 SVs=13610
[27861]CACHE: Free content for
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl
[27861]CACHE: Free content for *file:/usr/local/apache/htdocs/nylxs/
[27861]PERF: input = ???
[27861]PERF: Time: 50 ms 
[27861]Request finished. Mon Jun 20 14:25:50 2005
. Entry-SVs: 9173  Exit-SVs: 13607 
[27861]PERF: DOMSTAT: MemUsage = 68176 Bytes  numNodes = 4 
numLevelLookup = 0  numLevelLookupItem = 0  numStr = 78  numRepl
ace = 0  
[27861]REQ: ***** Start Request at Mon Jun 20 14:26:53 2005
[27861]Use App: Embperl
[27861]HDR:  8
[27861]HDR:  Host=www.nylxs.com
[27861]HDR:  User-Agent=Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.7.5) Gecko/20041107 Firefox/1.0
[27861]HDR: 
Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[27861]HDR:  Accept-Language=en-us,en;q=0.5
[27861]HDR:  Accept-Encoding=gzip,deflate
[27861]HDR:  Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
[27861]HDR:  Keep-Alive=300
[27861]HDR:  Connection=keep-alive
[27861]ENV:  MOD_PERL_API_VERSION=2
[27861]ENV:  MOD_PERL=mod_perl/2.0.0
[27861]Formdata... length = 0
[27861]Using APACHE for output...
[27863] Use Recipe Embperl
[27861]Search for /usr/local/apache/htdocs/nylxs/
[27861]Search: nothing to search return /usr/local/apache/htdocs/nylxs/
[27861]CACHE: *file:/usr/local/apache/htdocs/nylxs/ stat file
/usr/local/apache/htdocs/nylxs/ mtime=1119250989 size=920
[27861]CACHE: *file:/usr/local/apache/htdocs/nylxs/ expired because file
/usr/local/apache/htdocs/nylxs/ changed
[27861]CACHE: *file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl
expired because dependencies is expired or newer
[27861]CACHE:
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompile: expired
because dependencies is expired or ne
wer
[27861]CACHE:
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompile:*eprun:
expired because dependencies is expire
d or newer
[27861]CACHE:
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompile:*eprun:
get from provider
[27861]CACHE:
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompile: get
from provider
[27861]CACHE: *file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl get
from provider
[27861]Reading /usr/local/apache/htdocs/nylxs/ as input using PerlIO
(920 Bytes)...
[27861]PARSE: Start parsing /usr/local/apache/htdocs/nylxs/ DomTree = 2
[27861]PARSE: AddNode: +00  Element parent=0 node=1 type=1 text=att
(#76) 
[27861]PARSE: AddNode: +00  Element parent=0 node=2 type=9 text=Document
(#4) 
[27861]PARSE: AddNode: +00  Attribut parent=2 node=3 type=2
text=<domtree> (#3) 
[27861]PARSE: AddNode: +00  AttributValue parent=3 node=3 type=34
text=<noname> (#2) 
[27861]PARSE: AddNode: +00  Element parent=2 node=4 type=4 text= (#1) 
[27861]PARSE: AddNode: +00  Element parent=2 node=5 type=4 text= (#1) 
[27861]PERF: Parse Start Time:      0 ms 
[27861]PERF: Parse End Time:                0 ms 
[27861]PERF: Parse Time:                    0 ms 
[27861]PERF: DOMSTAT: MemUsage = 118700 Bytes  numNodes = 1085 
numLevelLookup = 0  numLevelLookupItem = 0  numStr = 286  nu
mReplace = 1  
[27861]EPCOMP: Start compiling /usr/local/apache/htdocs/nylxs/ DomTree =
2
[27861]EPCOMP: #2 L0 -------> parent=0 node=2 type=9 text=Document
(#4,compile) 
[27861]EPCOMP: #2 L0 CompileTimeCode:    
use vars ('$_ep_DomTree', '@ISA', '@param') ;
*_ep_rp=\&XML::Embperl::DOM::Node::iReplaceChildWithCDATA;
*_ep_rpid=\&XML::Embperl::DOM::Node::iReplaceChildWithMsgId;
*_ep_rpurl=\&XML::Embperl::DOM::Node::iReplaceChildWithUrlDATA;
*_ep_cp=\&XML::Embperl::DOM::Tree::iCheckpoint;
*_ep_dcp=\&XML::Embperl::DOM::Tree::iDiscardAfterCheckpoint;
*_ep_opt=\&Embperl::Cmd::Option;
*_ep_hid=\&Embperl::Cmd::Hidden;
*_ep_ac=\&XML::Embperl::DOM::Node::iAppendChild;
*_ep_sa=\&XML::Embperl::DOM::Element::iSetAttribut; 
Embperl::Util::CreateAliases ;
use vars qw{$_ep_selectname};
[27861]TAB:  get EscMode = 7, Used = 2
[27861]EPCOMP: #2 L0 Code:     
# any initialisation could be put here
$DB::single = 1 ;
$maxrow=100;$maxcol=10;

[27861]EPCOMP: #2 L0 Set Checkpoint pending
[27861]EPCOMP: #4 L0 -------> parent=2 node=4 type=4 text= (#1,compile) 
[27861]EPCOMP: #4 L0 Checkpoint
[27861]EPCOMP: #5 L0 -------> parent=2 node=5 type=4 text= (#1,compile) 
[27861]EPCOMP: #2 L0 CodeEnd:    # Include here any cleanup code
                                $DB::single = 0 ;
                                
[27861]EPCOMP: #2 L0 Set Checkpoint pending
[27861]EPCOMP: #-1  Checkpoint
[27861]DEF:  Line 1:  
# any initialisation could be put here
$DB::single = 1 ;
$maxrow=100;$maxcol=10;

 _ep_cp(1) ;
# Include here any cleanup code
                                $DB::single = 0 ;
                                
 _ep_cp(2) ;

[27861]PERF: Compile Start Time:            0 ms 
[27861]PERF: Compile End Time:      10 ms 
[27861]PERF: After Compile Exec End Time: 10 ms 
[27861]PERF: Perl Compile End Time:         10 ms 
[27861]PERF: Compile Time:                  10 ms 
[27861]PERF: DOMSTAT: MemUsage = 119740 Bytes  numNodes = 1085 
numLevelLookup = 0  numLevelLookupItem = 0  numStr = 286  nu
mReplace = 1  
[27861]DOM: DomTree 3 depends on DomTree 2
[27861]EVAL< <unknown>
[27861]Checkpoint: ok DomTree=3 1 -> 1 SVs=14488
[27861]Checkpoint: ok DomTree=3 2 -> 2 SVs=14488
[27861]EVAL> <undefined>
[27861]PERF: Run Start Time: 10 ms 
[27861]PERF: Run End Time:   10 ms 
[27861]PERF: Run Time:       0 ms 
[27861]PERF: DOMSTAT: MemUsage = 119896 Bytes  numNodes = 1085 
numLevelLookup = 0  numLevelLookupItem = 0  numStr = 286  nu
mReplace = 1  
[27861]HDR:  0
[27861]toString: Node=4(4) RepeatLevel=0 type=4 flags=1 text=><= (#1)
SVs=14431
[27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 text=><= (#1)
SVs=14431
[27861]CACHE: Free content for
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompile:*eprun:
[27861]Delete: DomTree = 3 SVs=14431
[27861]CACHE: Free content for
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl
[27861]CACHE: Free content for *file:/usr/local/apache/htdocs/nylxs/
[27861]PERF: input = ???
[27861]PERF: Time: 10 ms 
[27861]Request finished. Mon Jun 20 14:26:53 2005
. Entry-SVs: 14252  Exit-SVs: 14428 
[27861]PERF: DOMSTAT: MemUsage = 119740 Bytes  numNodes = 1085 
numLevelLookup = 0  numLevelLookupItem = 0  numStr = 286  nu
mReplace = 1  
^[[B^[[B^[[B[27861]REQ: ***** Start Request at Mon Jun 20 14:31:31 2005
[27861]Use App: Embperl
[27861]HDR:  5
[27861]HDR:  Host=www.nylxs.com
[27861]HDR:  User-Agent=msnbot/1.0 (+http://search.msn.com/msnbot.htm)
[27861]HDR:  Accept=text/html, text/plain, application/*
[27861]HDR:  Accept-Encoding=identity;q=1.0
[27861]HDR:  From=msnbot(at)microsoft.com
[27861]ENV: 
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin
[27861]ENV:  MOD_PERL_API_VERSION=2
[27861]ENV:  MOD_PERL=mod_perl/2.0.0
[27861]Formdata... length = 0
[27861]Using APACHE for output...
[27867] Use Recipe Embperl
Embperl::Util::CreateAliases ;
use vars qw{$_ep_selectname};
[27861]TAB:  get EscMode = 7, Used = 1
[27861]EPCOMP: #2 L0 Code:     
# any initialisation could be put here
$DB::single = 1 ;
$maxrow=100;$maxcol=10;

[27861]EPCOMP: #2 L0 Set Checkpoint pending
[27861]EPCOMP: #4 L0 -------> parent=2 node=4 type=4 text= (#1,compile) 
[27861]EPCOMP: #4 L0 Checkpoint
[27861]EPCOMP: #5 L0 -------> parent=2 node=5 type=4 text= (#1,compile) 
[27861]EPCOMP: #2 L0 CodeEnd:    # Include here any cleanup code
                                $DB::single = 0 ;
                                
[27861]EPCOMP: #2 L0 Set Checkpoint pending
[27861]EPCOMP: #-1  Checkpoint
[27861]DEF:  Line 1:  
# any initialisation could be put here
$DB::single = 1 ;
$maxrow=100;$maxcol=10;

 _ep_cp(1) ;
# Include here any cleanup code
                                $DB::single = 0 ;
                                
 _ep_cp(2) ;

[27861]PERF: Compile Start Time:            50 ms 
[27861]PERF: Compile End Time:      50 ms 
[27861]PERF: After Compile Exec End Time: 50 ms 
[27861]PERF: Perl Compile End Time:         50 ms 
[27861]PERF: Compile Time:                  0 ms 
[27861]PERF: DOMSTAT: MemUsage = 68176 Bytes  numNodes = 4 
numLevelLookup = 0  numLevelLookupItem = 0  numStr = 78  numReplace = 0 
[27861]DOM: DomTree 2 depends on DomTree 1
[27861]EVAL< <unknown>
[27861]Checkpoint: ok DomTree=2 1 -> 1 SVs=13667
[27861]Checkpoint: ok DomTree=2 2 -> 2 SVs=13667
[27861]EVAL> <undefined>
[27861]PERF: Run Start Time: 50 ms 
[27861]PERF: Run End Time:   50 ms 
[27861]PERF: Run Time:       0 ms 
[27861]PERF: DOMSTAT: MemUsage = 68332 Bytes  numNodes = 4 
numLevelLookup = 0  numLevelLookupItem = 0  numStr = 78  numReplace = 0 
[27861]HDR:  0
[27861]toString: Node=4(4) RepeatLevel=0 type=4 flags=1 text=><= (#1)
SVs=13610
[27861]toString: Node=5(5) RepeatLevel=0 type=4 flags=1 text=><= (#1)
SVs=13610
[27861]CACHE: Free content for
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl*epcompile:*eprun:
[27861]Delete: DomTree = 2 SVs=13610
[27861]CACHE: Free content for
*file:/usr/local/apache/htdocs/nylxs/*epparse:Embperl
[27861]CACHE: Free content for *file:/usr/local/apache/htdocs/nylxs/
[27861]PERF: input = ???
[27861]PERF: Time: 50 ms 
[27861]Request finished. Mon Jun 20 14:35:14 2005
. Entry-SVs: 9173  Exit-SVs: 13607 
[27861]PERF: DOMSTAT: MemUsage = 68176 Bytes  numNodes = 4  numLevelLook

On Mon, 2005-06-20 at 10:46, Gerald Richter wrote:
> > 
> > > 
> > > <VirtualHost *:80>
> > >     ServerAdmin ruben@mrbrklyn.com
> > >     DocumentRoot "/usr/local/apache/htdocs/nylxs"
> > >     DirectoryIndex index.html index.html.var
> > >     ServerName www.nylxs.com
> > >     PerlModule Embperl
> > >     Embperl_UseEnv        on
> > >     ErrorLog logs/nylxs_error_log
> > >     CustomLog logs/nylxs_access_log common
> > >     <Location "/x" >
> > >            SetHandler  perl
> > >            PerlHandler Embperl
> > >            Options     ExecCGI
> > >     </Location>
> > > </VirtualHost>
> > > 
> > 
> > I got it. It is SetHandler perl-script
> 
> Oops, Yes must be perl-script. I really have overseen this!
> > 
> > Now if I can figure out why apache is sending headers to the 
> > browser for the uri http://www.nylxs.com which makes the 
> > browser want to download index.html rather than display it?
> > 
> 
> I don't see a 
> 
> AddType text/html .html
> 
> In your httpd.conf
> 
> Gerald
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
> 
> > 
> > <VirtualHost *:80>
> >     ServerAdmin ruben@mrbrklyn.com
> >     DocumentRoot "/usr/local/apache/htdocs/nylxs"
> >     DirectoryIndex index.html index.html.var
> >     ServerName www.nylxs.com
> >     PerlModule Embperl
> >     Embperl_UseEnv        on
> >     ErrorLog logs/nylxs_error_log
> >     CustomLog logs/nylxs_access_log common
> >     <Location "/x" >
> >            SetHandler  perl
> >            PerlHandler Embperl
> >            Options     ExecCGI
> >     </Location>
> > </VirtualHost>
> > 
> 
> I got it. It is SetHandler perl-script

Oops, Yes must be perl-script. I really have overseen this!
> 
> Now if I can figure out why apache is sending headers to the 
> browser for the uri http://www.nylxs.com which makes the 
> browser want to download index.html rather than display it?
> 

I don't see a 

AddType text/html .html

In your httpd.conf

Gerald




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
> 
> <VirtualHost *:80>
>     ServerAdmin ruben@mrbrklyn.com
>     DocumentRoot "/usr/local/apache/htdocs/nylxs"
>     DirectoryIndex index.html index.html.var
>     ServerName www.nylxs.com
>     PerlModule Embperl
>     Embperl_UseEnv        on
>     ErrorLog logs/nylxs_error_log
>     CustomLog logs/nylxs_access_log common
>     <Location "/x" >
>            SetHandler  perl
>            PerlHandler Embperl
>            Options     ExecCGI
>     </Location>
> </VirtualHost>
> 

I got it. It is SetHandler perl-script

Now if I can figure out why apache is sending headers to
the browser for the uri http://www.nylxs.com which makes
the browser want to download index.html rather than display it?

Ruben


-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
I'm doing an strace now

But here is the whole file

Thanks for the help
ServerRoot "/usr/local/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>
#LockFile logs/accept.lock
</IfModule>
</IfModule>

#
# ScoreBoardFile: File used to store internal server process
information.
# If unspecified (the default), the scoreboard will be stored in an
# anonymous shared memory segment, and will be unavailable to
third-party
# applications.
# If specified, ensure that no two invocations of Apache share the same
# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
#
<IfModule !mpm_netware.c>
<IfModule !perchild.c>
#ScoreBoardFile logs/apache_runtime_status
</IfModule>
</IfModule>


#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
<IfModule !mpm_netware.c>
PidFile logs/httpd.pid
</IfModule>

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from
the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept
spare
# MaxSpareServers: maximum number of server processes which are kept
spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process
serves
<IfModule prefork.c>
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients         150
MaxRequestsPerChild  0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server
process
# MaxRequestsPerChild: maximum number of requests a server process
serves
<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

# perchild MPM
# NumServers: constant number of server processes
# StartThreads: initial number of worker threads in each server process
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# MaxThreadsPerChild: maximum number of worker threads in each server
process
# MaxRequestsPerChild: maximum number of connections per server process
<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
</IfModule>

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80

Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a
DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are
used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#

LoadModule perl_module modules/mod_perl.so
LoadModule  embperl_module 
"/usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so"

PerlModule Embperl
SetEnv EMBPERL_DEBUG 2285
Embperl_UseEnv        on


<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>
User nobody
Group #-1
</IfModule>
</IfModule>

ServerAdmin ruben@mrbrklyn.com

UseCanonicalName Off

#DocumentRoot "/usr/local/apache/htdocs"

#    PerlModule Embperl

#<Directory />
#    Options FollowSymLinks
#    AllowOverride None
#    SetHandler  perl
#    PerlHandler Embperl
#    Options     ExecCGI
#</Directory>

#<Directory "/usr/local/apache/htdocs">
#
#    Options Indexes FollowSymLinks

#    SetHandler  perl
#    PerlHandler Embperl
#    Options     ExecCGI
#    AllowOverride None
#    Order allow,deny
#    Allow from all

#</Directory>

DirectoryIndex index.html index.html.var

AccessFileName .htaccess

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

TypesConfig conf/mime.types

DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
</IfModule>

HostnameLookups Off

ErrorLog logs/error_log

LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# You need to enable mod_logio.c to use %I and %O
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
%I %O" combinedio

CustomLog logs/access_log common

ServerTokens Full

ServerSignature On

Alias /icons/ "/usr/local/apache2/icons/"

<Directory "/usr/local/apache2/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$
"/usr/local/apache2/manual$1"
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

<IfModule mod_cgid.c>
</IfModule>

<Directory "/usr/local/apache/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

IndexOptions FancyIndexing VersionSort

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif

ReadmeName README.html
HeaderName HEADER.html

IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw

LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn
no pl pt pt-BR ru sv zh-CN zh-TW

ForceLanguagePriority Prefer Fallback

AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5        .Big5       .big5
AddCharset WINDOWS-1251 .cp-1251   .win-1251
AddCharset CP866       .cp866
AddCharset KOI8-r      .koi8-r .koi8-ru
AddCharset KOI8-ru     .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8       .utf8

AddCharset GB2312      .gb2312 .gb
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5        .big5 .b5
AddCharset EUC-TW      .euc-tw
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis

AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

#AddHandler cgi-script .cgi

#AddHandler send-as-is asis

#AddHandler imap-file map

AddHandler type-map var

#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

BrowserMatch "Microsoft Data Access Internet Publishing Provider"
redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully

<IfModule mod_ssl.c>
    Include conf/ssl.conf
</IfModule>


NameVirtualHost *:80

#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost *:80>
    ServerAdmin ruben@mrbrklyn.com
    DocumentRoot "/usr/local/apache/htdocs"
    ServerName www.mrbrklyn.com
    ErrorLog logs/error_log
    CustomLog logs/access_log common
</VirtualHost>


<VirtualHost *:80>
    ServerAdmin ruben@mrbrklyn.com
    DocumentRoot "/usr/local/apache/htdocs/www2"
    ServerName www2.mrbrklyn.com
    ErrorLog logs/www2_error_log
    CustomLog logs/www2_access_log common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin ruben@mrbrklyn.com
    DocumentRoot "/usr/local/apache/htdocs/nylxs"
    DirectoryIndex index.html index.html.var
    ServerName www.nylxs.com
    PerlModule Embperl
    Embperl_UseEnv        on
    ErrorLog logs/nylxs_error_log
    CustomLog logs/nylxs_access_log common
    <Location "/x" >
           SetHandler  perl
           PerlHandler Embperl
           Options     ExecCGI
    </Location>
</VirtualHost>


On Mon, 2005-06-20 at 03:16, Gerald Richter wrote:
> > 
> > That just seems to have the same behavior under the new x directory.
> > 
> > and without the x there, I look the forward to index.html 
> > with the URI of http://www.nylxs.com
> > 
> > Does embperl require that I make an alias for its locations?
> > 
> 
> No
> 
> Could you send your full httpd.conf?
> 
> Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
> 
> That just seems to have the same behavior under the new x directory.
> 
> and without the x there, I look the forward to index.html 
> with the URI of http://www.nylxs.com
> 
> Does embperl require that I make an alias for its locations?
> 

No

Could you send your full httpd.conf?

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
That just seems to have the same behavior under the new x directory.

and without the x there, I look the forward to index.html with the URI
of http://www.nylxs.com

Does embperl require that I make an alias for its locations?

Ruben



On Mon, 2005-06-20 at 02:55, Gerald Richter wrote:
>  > 
> > Nothing works
> > 
> 
> Yes, of course...
> 
> You have
> 
> > see http://www.nylxs.com/test.html
> > 
> 
> And
> 
> >    <Location /x >
> >           SetHandler  perl-script
> >           PerlHandler Embperl
> >           Options     ExecCGI
> >    </Location>
> 
> So how should it work, if you tell Apache only to execute Embperl under the
> x directory.
> 
> Move test.html into x and it should work
> 
> Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
Oh

I thought /x meant everything under the directory "/".
Let me try that.  Thanks.

Ruben

On Mon, 2005-06-20 at 02:55, Gerald Richter wrote:
>  > 
> > Nothing works
> > 
> 
> Yes, of course...
> 
> You have
> 
> > see http://www.nylxs.com/test.html
> > 
> 
> And
> 
> >    <Location /x >
> >           SetHandler  perl-script
> >           PerlHandler Embperl
> >           Options     ExecCGI
> >    </Location>
> 
> So how should it work, if you tell Apache only to execute Embperl under the
> x directory.
> 
> Move test.html into x and it should work
> 
> Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
 
> 
> Nothing works
> 

Yes, of course...

You have

> see http://www.nylxs.com/test.html
> 

And

>    <Location /x >
>           SetHandler  perl-script
>           PerlHandler Embperl
>           Options     ExecCGI
>    </Location>

So how should it work, if you tell Apache only to execute Embperl under the
x directory.

Move test.html into x and it should work

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
> The log file is opened on the first request, so it is ok that it isn't open
> at this time
> 

It was never made

> Also your httpd.conf seems to be ok, could you just add a line
> 
I'll do this

> Embperl_UseEnv	on
> 
> Does Apache still start? If yes, Embperl is correctly compiled and
> installed.
> 
Yes

> Maybe there are some hints in the error log?
> 

There is NO error log - at least not under /tmp/

the normal apache logs are just acting like embperl doesn't exist



> Could you more in detail describe what you try to do and what works and what
> doesn't?
> 

Nothing works

see http://www.nylxs.com/test.html

Ruben



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
> 
> Actually it does seem to be open with lsof, but no log file.  
> Should I open one in /tmp ?
> 

The log file is opened on the first request, so it is ok that it isn't open
at this time

Also your httpd.conf seems to be ok, could you just add a line

Embperl_UseEnv	on

Does Apache still start? If yes, Embperl is correctly compiled and
installed.

Maybe there are some hints in the error log?

Could you more in detail describe what you try to do and what works and what
doesn't?

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
Actually it does seem to be open with lsof, but no log file.  Should
I open one in /tmp ?

Ruben

 lsof |grep Emb
 httpd     14707        root  mem       REG        8,3   593794   13680589 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
 httpd     14708      nobody  mem       REG        8,3   593794   13680589 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
 httpd     14709      nobody  mem       REG        8,3   593794   13680589 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
 httpd     14710      nobody  mem       REG        8,3   593794   13680589 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
 httpd     14711      nobody  mem       REG        8,3   593794   13680589 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
 httpd     14712      nobody  mem       REG        8,3   593794   13680589 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
 httpd     14713      nobody  mem       REG        8,3   593794   13680589 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so


On Mon, Jun 20, 2005 at 06:22:17AM +0200, Gerald Richter wrote:
> > 
> > Relavent sections of httpd.conf in Apache 2 is as follows
> > 
> > LoadModule perl_module modules/mod_perl.so LoadModule  
> > embperl_module  
> > /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Em
> bperl/Embperl.so
> > 
> 
> Also add a
> 
> PerlModule Embperl
> 
> Gerald
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
On Sun, Jun 19, 2005 at 07:19:00PM -0700, allen haim wrote:
> I had the same problem -- the problem is that CGI.pm is still using the old
> Apache namespace.
> 
> I'm not at work so I don't remember exactly, but I believe you have to get
> the latest CGI.pm, which has been updated for Apache2. 
> 
> Don't try to install Apache::Response -- basically anything Apache::xxx is
> old.

Thank for the input, I thought I was going crazy, but meanwhile I still
can't get embperl working evidently

Ruben


-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by allen haim <al...@netherrealm.net>.
I had the same problem -- the problem is that CGI.pm is still using the old
Apache namespace.

I'm not at work so I don't remember exactly, but I believe you have to get
the latest CGI.pm, which has been updated for Apache2. 

Don't try to install Apache::Response -- basically anything Apache::xxx is
old.

Allen

On Sun, Jun 19, 2005 at 05:42:21PM -0400, Ruben Safir wrote:
> BTW
> 
> The make test fails on
> 
> Input:          test/html/upload.htm
> Output:         test/tmp/out.htm
> Log:            test/tmp/test.log
> Testparameter:
>   noloop = 1
>   reqbody = Hi there!
>   query_info = multval=A&multval=B&multval=C&single=S
>   offline = 0
> 
>  ERRORS detected! NOT all tests have been passed successfully
> 
> 
> Found unexpected output in httpd errorlog:
> [Sun Jun 19 17:39:19 2005] [error] [12053]ERR:  24:  Error in Perl code: Can't locate Apache/Response.pm in @INC (@INC contains: /usr/src/embperl/blib/arch /usr/src/embperl/blib/lib . /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/src/embperl/test) at /usr/lib/perl5/5.8.5/CGI.pm line 186.\nCompilation failed in require at /usr/src/embperl/blib/lib/Embperl.pm line 269.\n
> make: *** [test_dynamic] Error 1
> 
> and when I try to install Apache::Response thourgh CPAN it walks me through a 
> batch module installs, one of which tries to rebuild mod_perl with apache, but 
> only works with Apache 1.3x
> 
> 
> 
> Ruben
> 
> 
> On Sun, Jun 19, 2005 at 05:25:13PM -0400, Ruben Safir wrote:
> > Well
> > 
> > The server seems to say that embperl and mod_perl is there but NOTHING
> > I seem to do makes to work.
> > 
> > lsof is not even showing the embperl log file is open
> > 
> > Relavent sections of httpd.conf in Apache 2 is as follows
> > 
> > LoadModule perl_module modules/mod_perl.so
> > LoadModule  embperl_module  /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
> > 
> > ....
> > 
> > <VirtualHost *:80>
> >     ServerAdmin ruben@mrbrklyn.com
> >     DocumentRoot /usr/local/apache/htdocs/nylxs/
> >     ServerName www.nylxs.com
> >     PerlModule Embperl
> >     ErrorLog logs/nylxs_error_log
> >     CustomLog logs/nylxs_access_log common
> >     <Location /x >
> >            SetHandler  perl???script
> >            PerlHandler Embperl
> >            Options     ExecCGI
> >     </Location>
> > </VirtualHost>
> > 
> > 
> > On Sun, Jun 12, 2005 at 02:57:22PM -0400, Ruben Safir wrote:
> > 
> > > 
> > > I finished with the embperl compiling for apache2 and I'm a little
> > > bewildered, being this is my first look at apach2.
> > > 
> > > Does it not take anymore, the need to compile mod_perl into apache2 and with
> > > embperl explicitley, like I used to have to do?  Or is this now all done through
> > > and conf system?
> > > 
> > > Ruben
> > > 
> > > 
> > > -- 
> > > __________________________
> > > Brooklyn Linux Solutions
> > > 
> > > So many immigrant groups have swept through our town 
> > > that Brooklyn, like Atlantis, reaches mythological 
> > > proportions in the mind of the world  - RI Safir 1998
> > > 
> > > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> > > http://fairuse.nylxs.com
> > > 
> > > "Yeah - I write Free Software...so SUE ME"
> > > 
> > > http://www.mrbrklyn.com - Consulting
> > > http://www.inns.net <-- Happy Clients
> > > http://www.nylxs.com - Leadership Development in Free Software
> > > http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
> > > http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > > For additional commands, e-mail: embperl-help@perl.apache.org
> > 
> > -- 
> > __________________________
> > Brooklyn Linux Solutions
> > 
> > So many immigrant groups have swept through our town 
> > that Brooklyn, like Atlantis, reaches mythological 
> > proportions in the mind of the world  - RI Safir 1998
> > 
> > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> > http://fairuse.nylxs.com
> > 
> > "Yeah - I write Free Software...so SUE ME"
> > 
> > http://www.mrbrklyn.com - Consulting
> > http://www.inns.net <-- Happy Clients
> > http://www.nylxs.com - Leadership Development in Free Software
> > http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
> > http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> 
> -- 
> __________________________
> Brooklyn Linux Solutions
> 
> So many immigrant groups have swept through our town 
> that Brooklyn, like Atlantis, reaches mythological 
> proportions in the mind of the world  - RI Safir 1998
> 
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://fairuse.nylxs.com
> 
> "Yeah - I write Free Software...so SUE ME"
> 
> http://www.mrbrklyn.com - Consulting
> http://www.inns.net <-- Happy Clients
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
> http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 

-- 

happy random U.S. amendment to a war crimes treaty, Apr 6., 1984:

... SHALL NOT APPLY TO DISPUTES WITH ANY CENTRAL AMERICAN STATE



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
BTW

The make test fails on

Input:          test/html/upload.htm
Output:         test/tmp/out.htm
Log:            test/tmp/test.log
Testparameter:
  noloop = 1
  reqbody = Hi there!
  query_info = multval=A&multval=B&multval=C&single=S
  offline = 0

 ERRORS detected! NOT all tests have been passed successfully


Found unexpected output in httpd errorlog:
[Sun Jun 19 17:39:19 2005] [error] [12053]ERR:  24:  Error in Perl code: Can't locate Apache/Response.pm in @INC (@INC contains: /usr/src/embperl/blib/arch /usr/src/embperl/blib/lib . /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/src/embperl/test) at /usr/lib/perl5/5.8.5/CGI.pm line 186.\nCompilation failed in require at /usr/src/embperl/blib/lib/Embperl.pm line 269.\n
make: *** [test_dynamic] Error 1

and when I try to install Apache::Response thourgh CPAN it walks me through a 
batch module installs, one of which tries to rebuild mod_perl with apache, but 
only works with Apache 1.3x



Ruben


On Sun, Jun 19, 2005 at 05:25:13PM -0400, Ruben Safir wrote:
> Well
> 
> The server seems to say that embperl and mod_perl is there but NOTHING
> I seem to do makes to work.
> 
> lsof is not even showing the embperl log file is open
> 
> Relavent sections of httpd.conf in Apache 2 is as follows
> 
> LoadModule perl_module modules/mod_perl.so
> LoadModule  embperl_module  /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so
> 
> ....
> 
> <VirtualHost *:80>
>     ServerAdmin ruben@mrbrklyn.com
>     DocumentRoot /usr/local/apache/htdocs/nylxs/
>     ServerName www.nylxs.com
>     PerlModule Embperl
>     ErrorLog logs/nylxs_error_log
>     CustomLog logs/nylxs_access_log common
>     <Location /x >
>            SetHandler  perl‐script
>            PerlHandler Embperl
>            Options     ExecCGI
>     </Location>
> </VirtualHost>
> 
> 
> On Sun, Jun 12, 2005 at 02:57:22PM -0400, Ruben Safir wrote:
> 
> > 
> > I finished with the embperl compiling for apache2 and I'm a little
> > bewildered, being this is my first look at apach2.
> > 
> > Does it not take anymore, the need to compile mod_perl into apache2 and with
> > embperl explicitley, like I used to have to do?  Or is this now all done through
> > and conf system?
> > 
> > Ruben
> > 
> > 
> > -- 
> > __________________________
> > Brooklyn Linux Solutions
> > 
> > So many immigrant groups have swept through our town 
> > that Brooklyn, like Atlantis, reaches mythological 
> > proportions in the mind of the world  - RI Safir 1998
> > 
> > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> > http://fairuse.nylxs.com
> > 
> > "Yeah - I write Free Software...so SUE ME"
> > 
> > http://www.mrbrklyn.com - Consulting
> > http://www.inns.net <-- Happy Clients
> > http://www.nylxs.com - Leadership Development in Free Software
> > http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
> > http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> 
> -- 
> __________________________
> Brooklyn Linux Solutions
> 
> So many immigrant groups have swept through our town 
> that Brooklyn, like Atlantis, reaches mythological 
> proportions in the mind of the world  - RI Safir 1998
> 
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://fairuse.nylxs.com
> 
> "Yeah - I write Free Software...so SUE ME"
> 
> http://www.mrbrklyn.com - Consulting
> http://www.inns.net <-- Happy Clients
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
> http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@mrbrklyn.com>.
I got that line

DocumentRoot "/usr/local/apache/htdocs"

    PerlModule Embperl


and in the virtual host section


On Mon, 2005-06-20 at 00:22, Gerald Richter wrote:
> > 
> > Relavent sections of httpd.conf in Apache 2 is as follows
> > 
> > LoadModule perl_module modules/mod_perl.so LoadModule  
> > embperl_module  
> > /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Em
> bperl/Embperl.so
> > 
> 
> Also add a
> 
> PerlModule Embperl
> 
> Gerald
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
> 
> Relavent sections of httpd.conf in Apache 2 is as follows
> 
> LoadModule perl_module modules/mod_perl.so LoadModule  
> embperl_module  
> /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Em
bperl/Embperl.so
> 

Also add a

PerlModule Embperl

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: mod_perl/embperl compiling

Posted by Ruben Safir <ru...@www2.mrbrklyn.com>.
Well

The server seems to say that embperl and mod_perl is there but NOTHING
I seem to do makes to work.

lsof is not even showing the embperl log file is open

Relavent sections of httpd.conf in Apache 2 is as follows

LoadModule perl_module modules/mod_perl.so
LoadModule  embperl_module  /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi/auto/Embperl/Embperl.so

....

<VirtualHost *:80>
    ServerAdmin ruben@mrbrklyn.com
    DocumentRoot /usr/local/apache/htdocs/nylxs/
    ServerName www.nylxs.com
    PerlModule Embperl
    ErrorLog logs/nylxs_error_log
    CustomLog logs/nylxs_access_log common
    <Location /x >
           SetHandler  perl‐script
           PerlHandler Embperl
           Options     ExecCGI
    </Location>
</VirtualHost>


On Sun, Jun 12, 2005 at 02:57:22PM -0400, Ruben Safir wrote:

> 
> I finished with the embperl compiling for apache2 and I'm a little
> bewildered, being this is my first look at apach2.
> 
> Does it not take anymore, the need to compile mod_perl into apache2 and with
> embperl explicitley, like I used to have to do?  Or is this now all done through
> and conf system?
> 
> Ruben
> 
> 
> -- 
> __________________________
> Brooklyn Linux Solutions
> 
> So many immigrant groups have swept through our town 
> that Brooklyn, like Atlantis, reaches mythological 
> proportions in the mind of the world  - RI Safir 1998
> 
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://fairuse.nylxs.com
> 
> "Yeah - I write Free Software...so SUE ME"
> 
> http://www.mrbrklyn.com - Consulting
> http://www.inns.net <-- Happy Clients
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
> http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

-- 
__________________________
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

"Yeah - I write Free Software...so SUE ME"

http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


RE: mod_perl/embperl compiling

Posted by Gerald Richter <ri...@ecos.de>.
> 
> I finished with the embperl compiling for apache2 and I'm a 
> little bewildered, being this is my first look at apach2.
> 
> Does it not take anymore, the need to compile mod_perl into 
> apache2 and with embperl explicitley, like I used to have to 
> do?  Or is this now all done through and conf system?
> 

You can now load mod_perl as a Apache module and need not to compile it in 

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org