Hi,

I'm new here. I apologize in advance if I'm posting this wrongly or to
the wrong list and for the messy 'cut and paste' job on the error_log
below. I haven't been able to find a solution for a start-up problem I'm
having with a new Apache::ASP install and would appreciate any help or
clues greatly. 

Apache::ASP's test script 'ssi_filter.ssi' fails. It includes the
header, the gifs and prints two lines of text then  balks at the Virtual
include:


<table width=100%><tr><td>
        <!--#include virtual="<%="$demo->{file}?virtual=1"%>" -->
</td></tr></table>


I built a static Apache 1.3.12 with mod_perl 1.22 nite before last.
mod_perl was built, tested and 'make install'ed with EVERYTHING=1.
stdout showed that PERL_STACKED_HANDLERS tested ok and was enabled.

I installed both Apache::SSI and Apache::Filter. Then I installed
Apache::ASP. It liked what it found. I did 'cp -r /site/eg' from src to
Apache's htdocs/, I set 'AllowOverride All' for the htdocs directory and
the eg directory in httpd.conf, and everything else seems to work ok,
except the file 'session_query_parse.asp' which works fine sometimes and
throws an error at other times. Ownership in eg is 1001.bin and
permissions are chmod 0777 for site/eg under Apache's DocumentRoot.
Apache is owned by nobody.nobody.

I haven't tried to config httpd.conf yet (except for the 'AllowOverride
All' directive) because reading some of Joshua Chamas replies in this
list's archives seems to indicate that's not necessary for the test
scripts in site/eg. Man says there's a problem with SSI needing to be
the last include, but indicated that simple directives like
<!--#fsize-->, <!--#flastmod--> should not be a problem.

All the other scripts work great and I can't wait to dig into mod_perl
and Apache::ASP. I'd just like to find out if I've got a good install
before I try to break it.

Thanks again,

montefin


ssi_filter.ssi presented the following in error_log:

[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] RUN ASP (v0.18)
for /usr/local/apache-ASP/htdocs/site/eg/ssi_filter.ssi
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] loaded module
Apache::Filter
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] GlobalASA
package Apache::ASP::Demo
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] compiling
global.asa Apache::ASP::Demo
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] global.asa
routines - Application_OnEnd: 1; Application_OnStart: 1; 
Script_OnEnd: 1; Script_OnStart: 1; Session_OnEnd: 1; Session_OnStart:
1; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] opening lock
file /tmp/asp_demo/server/internal.lock
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] opening lock
file /tmp/asp_demo/server/application.lock
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] created
$Application - Count: 20; Session73d41e9eb24306295fa1e2b08f64d311: ?; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] session id from
cookie: 73d41e9eb24306295fa1e2b08f64d311
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] refreshing
73d41e9eb24306295fa1e2b08f64d311 with timeout 959759203
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] session timed
out, clearing
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] opening lock
file /tmp/asp_demo/73/73d41e9eb24306295fa1e2b08f64d311.lock
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] Session_OnEnd -
session: 73d41e9eb24306295fa1e2b08f64d311; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] executing
Session_OnEnd
[Wed May 31 01:26:43 2000] [error] [asp] [4815] Session Ending :) in
./eg/global.asa 73d41e9eb24306295fa1e2b08f64d311
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] state
73d41e9eb24306295fa1e2b08f64d311 locks: 1, unlocks: 1
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] refreshing
73d41e9eb24306295fa1e2b08f64d311 with timeout 959759203
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] setting internal
data for state 73d41e9eb24306295fa1e2b08f64d311 - s
tate_db: SDBM_File; state_serializer: Data::Dumper; timeout: 959759203; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] opening lock
file /tmp/asp_demo/73/73d41e9eb24306295fa1e2b08f64d311.lock
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] tieing session
73d41e9eb24306295fa1e2b08f64d311
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] tied session -
Count: 10; Ended: 3; Started: 3; onstart: 959754256; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] clearing
starting session
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] forcing groups
cleanup
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] testing internal
time for cleanup groups
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] group check 73
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] skipping delete
self - id: 73d41e9eb24306295fa1e2b08f64d311; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] state 73 locks:
0, unlocks: 0
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] cleanup groups -
deleted: ; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug]
Application_OnEnd
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] executing
Application_OnEnd
[Wed May 31 01:26:43 2000] [error] [asp] [4815] Application Ending :) in
./eg/global.asa
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] state
application locks: 2, unlocks: 2
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] setting internal
data for state application - state_db: SDBM_File; state_serializer:
Data::Dumper; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] opening lock
file /tmp/asp_demo/server/application.lock
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug]
Application_OnStart
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] executing
Application_OnStart
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] Session_OnStart
- session: 73d41e9eb24306295fa1e2b08f64d311;
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] executing
Session_OnStart
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] ASP object
created - Application: Apache::ASP::Application=HASH(0x81
f82f4); GlobalASA: Apache::ASP::GlobalASA=HASH(0x836318c); Internal:
Apache::ASP::State=HASH(0x82a12dc); Request: Apache::AS
P::Request=HASH(0x828e64c); Response:
Apache::ASP::Response=HASH(0x81f8000); Server:
Apache::ASP::Server=HASH(0x81f7ef8); Se
ssion: Apache::ASP::Session=HASH(0x835078c); app_state: 1; basename:
ssi_filter.ssi; compile_includes: 1; cookie_path: /; db
g: 2; debugs_output: ARRAY(0x821d988); filehandle: GLOB(0x831fb74);
filename: /usr/local/apache-ASP/htdocs/site/eg/ssi_filte
r.ssi; filter: 1; global: /usr/local/apache-ASP/htdocs/site/eg//.;
global_package: Apache::ASP::Demo; group_refresh: 120; id
: NoCache; includes_dir: ; init_packages: ARRAY(0x81f7e74); no_cache: 1;
no_session: ; no_state: ; package: Apache::ASP::Dem
o; paranoid_session: ; pod_comments: 1; r: Apache=SCALAR(0x8397dc0);
remote_ip: 198.59.115.59; secure_session: ; session_coo
kie: 1; session_id: 73d41e9eb24306295fa1e2b08f64d311; session_serialize:
; session_timeout: 1200; session_url: 1; session_ur
l_match: ; session_url_parse: ; session_url_parse_match: ; sig_warn: ;
stat_inc: ; stat_inc_match: ; stat_scripts: 1; state_
cache: ; state_db: ; state_dir: /tmp/asp_demo; state_manager: 10;
state_serializer: ; ua: Mozilla/4.72 [en] (X11; U; Linux 2
.2.14 i686); unique_packages: ; use_strict: ; 
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] runtime exec of
dynamic include header.inc args ()
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] parsing
header.inc
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] loaded module
Apache::Symbol
[Wed May 31 01:26:43 2000] [error] [asp] [4815] [debug] active undefing
sub Apache::ASP::Demo::_usr_local_apache_ASP_htdocs_
site_eg____header_inc code CODE(0x83d88e0)
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] compile include
header.inc sub _usr_local_apache_ASP_htdocs_site_eg_
___header_inc
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] runtime exec of
dynamic include footer.inc args ()
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] parsing
footer.inc
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] active undefing
sub
Apache::ASP::Demo::_usr_local_apache_ASP_htdocs_site_eg____footer_inc
code CODE(0x8400dcc)
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] compile include
footer.inc sub _usr_local_apache_ASP_htdocs_site_eg____footer_inc
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] active undefing
sub Apache::ASP::Demo::NoCache code CODE(0x83d8994)
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] compiling into
package Apache::ASP::Demo subid Apache::ASP::Demo::No
Cache
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] Script_OnStart
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] executing
Script_OnStart
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] executing
NoCache
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] executing
Apache::ASP::Demo::_usr_local_apache_ASP_htdocs_site_eg____header_inc
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] executing
Apache::ASP::Demo::_usr_local_apache_ASP_htdocs_site_eg____footer_inc
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] Script_OnEnd
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] executing
Script_OnEnd
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] building headers
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] status 200
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] destroying -
asp: Apache::ASP=HASH(0x8343bf8); 
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] state
application locks: 3, unlocks: 3
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] state internal
locks: 16, unlocks: 16
[Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] state
73d41e9eb24306295fa1e2b08f64d311 locks: 9, unlocks: 9
[Wed May 31 01:26:44 2000] [error] Can't locate object method "run" via
package "Apache" at /usr/lib/perl5/site_perl/5.005/A
pache/SSI.pm line 181.

Reply via email to