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 [EMAIL PROTECTED] > > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]