Re: SOLVED! - Help with Apache::SSI Apache::Filter in Apache::ASP

2000-06-01 Thread montefin

KEN!

Bingo.

My bad. I was too anxious to make this work tonight and just did NOT do
the make properly.

KICK MYSELF! KICK MYSELF!

Thanks for being there,

montefin


Ken Williams wrote:
> 
> [EMAIL PROTECTED] (montefin) wrote:
> >Or, could it be that the location that <%="$demo->{file}?virtual=1"%>
> >references on my system has wrong ownership or permissions set?
> 
> No, it wouldn't be that.  It's failing before that.
> 
> >- begin ssi_filter.ssi snippet ---
> >
> >
> >
> >- end ssi_filter.ssi snippet ---
> 
> Here's an idea.  I think the double-quotes are messing up the parsing of the
> line because they're used in two different ways.  The new HTML::SimpleParse can
> handle single-quotes as delimiters.
> 
> So grab the latest HTML::SimpleParse from CPAN, version 0.09.  And the latest
> Apache::SSI, at http://mathforum.com/~ken/modules/Apache-SSI/SSI.pm (there's
> been a one-line change that allows compatibility with the latest SimpleParse).
> Then change your component to
> 
>
>   
>
> 
> I think that might make things work.  Let me know.
> 
>   ------
>   Ken Williams Last Bastion of Euclidity
>   [EMAIL PROTECTED]The Math Forum

-- 
In Life Timing is everything; in Linux Permissions is everything.
http://www.montefin.com/~montefin/ (up 24/7)
http://finux.com:8080 (our Zope experiment...evenings & weekends)
http://finux.com:8085 (our XML adventures...evenings & weekends)



Help with Apache::SSI Apache::Filter in Apache::ASP

2000-05-31 Thread montefin

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:







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
,  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, un