<!-- #include file="header2.inc" -->

Well, as far as I have seen, the #include is not implemented by this ASP
engine.
[ That's why I was seeking a solution to pipe the output of the mod_include
through the mod_asp, see my other recent post. ]

>if Request.Item("area") = "" then
I do not think "Item" is implemented on "Request".
See the attached readme file, found in the archive containing source code.

This ASP work is quite old (except the effort of compiling it properly for
distribution with OpenSA).
And I have the feeling that original authors have abandonned that work.

---------------------------------------------------------------------
Olivier Mascia                                        T.I.P. Group SA
[EMAIL PROTECTED]                                      www.tipgroup.com
Director, Chief Software Architect                      +32 65 401111

----- Original Message -----
From: "Joe Lauer" <[EMAIL PROTECTED]>
To: "OpenSA" <[EMAIL PROTECTED]>
Sent: Monday, May 29, 2000 11:20 PM
Subject: new installation keeps giving me "Apache Active Scripting Runtime
Error"


> Hey,
>
> I just installed OpenSA apache and I am trying to get an asp page that I
> know works under IIS to run.
>
> However, I keep getting this error.
>
>
>
> Apache Active Scripting Runtime Error
> Object doesn't support this action
>
> Line #3, Char #1
>
>
> I at first thought it was something in my code, but this page works fine
> under IIS 4.0 and 5.0
>
> So I even commented out Line #3 and more, but the same error keeps coming
> up.  Is this just something a newbie doesn't understand?
>
> Here is the .asp page I'm trying to use.  It begins with the <%
>
> -joe
>
>
>
> <%
> 'get area
> if Request.Item("area") = "" then
> area = "home"
> home = "on."
> logo = true
> else
> area = request("area")
> end if
>
> 'get section
> if request("section") = "" then
> section = "index"
> else
> section = request("section")
> end if
>
> %>
> <!-- #include file="header2.inc" -->
> <%
> 'assign the right header to each page
>
> if not (area = "home") then
> %>
> <img src="images/header.<%=area%>.gif" border="0">
> <% end if %>
> <br>
>
> <% if area = "home" then %>
> <table border="0" cellspacing="0" cellpadding="0">
> <tr><td valign="top" width="151" height="176"><a href="jubilee.asp"><img
> src="images/jubilee.gif" border="0" WIDTH="151" HEIGHT="176"></a></td>
> <td rowspan="4" valign="top"><img src="images/line.gif" border="0"
> WIDTH="3" HEIGHT="334"><img src="images/dot.gif" height="1"
width="11"></td>
> <td valign="top" width="151" height="176"><img src="images/therese.gif"
> border="0" WIDTH="151" HEIGHT="176"></td>
> <td rowspan="4" valign="top"><img src="images/dot.gif" height="1"
> width="11"><img src="images/line.gif" border="0" WIDTH="3"
HEIGHT="334"><img
> src="images/dot.gif" height="1" width="11"></td>
> <td valign="top" width="161" height="176"><a
> href="index.asp?area=lifeteen"><img src="images/index.lifeteen.jpg"
> border="0" WIDTH="161" HEIGHT="176"></a><br><br></td>
>
> <tr><td valign="top" height="100%"><%=font1%><b>Blessings and Prayers for
> the Jubilee Days</b><br>
> The National Catholic Conference of Catholic Bishops Provide
> suggestions for the Jubilee Year...<br><br>
> <%=font2%><a href="jubilee.asp">Click here for more
> information</a><br><br><br></td>
> <td valign="top"><%=font1%><b>Opened the first week of November,
> 1999</b><br>
> A wonderful, visually historic display of Shrine, located in the St.
> Therese
> Chapel.  Visit and learn more about Shrine Parish!</td>
> <td valign="top"><%=font1%><b>Winter Semester 2000</b><br>
> Check out our upcoming Life Nights...<br><br><br><br><br><br>
> <%=font2%><a href="index.asp?area=lifeteen">Click here for more
> information</a></td></tr>
> </table>
>
> <% elseif area = "office" then %>
>
> <%=font1%><b>
> <p>
> OFFICE HOURS:
> </b>
> <blockquote>
> Monday &#150; Friday:<ul>
> <li>9:00 am - 5:00 pm
> <li>6:30 pm - 9:00 pm
> </ul>
> Saturday:<ul>
> <li>9:00 am - 2:30 pm
> </ul>
> Emergencies handled at any time. Please limit other visits or phone calls
to
> the
> above times.
> </blockquote>
>
> <% elseif area = "worship" then %>
>
> <%=font1%><p>
> <b>WORSHIP COMMISSION</b>
> </p>
> <p>
> The Worship Commission services the parish in areas of liturgy and
> ecumenism.
> It promotes programs of education, planning and evaluation. It is involved
> in
> liturgical celebrations and is the liaison for relations with other
> Christian churches.
> </p>
> <p>
> The objectives of the Commission are to educate the various ministries as
to
> their
> roles within liturgy by means of workshops, practical training and
periodic
> review
> and to educate the parish as a whole on the Catholic Church today.
> </p>
> <p>
> The functions of the Worship Commission are in the areas of liturgy and
> ecumenism.
> This work includes adminstrative, worship and education.
> </p>
> <p>
> <b>WORSHIP COMMISSION ROSTER</b>
> </p>
> <p>
> Rev. Reginal Brady - Moderator<br>
> Andy Killiany - Chairman<br>
> Cathy Cheff<br>
> Phil Clark<br>
> Ethel Dixon<br>
> Sylvia Ebaugh<br>
> Scott Foppiano<br>
> John LaCroix<br>
> Rick Lowery<br>
> Al Liggett<br>
>
> <br><br>
>
> <% elseif area = "visit" then %>
>
> <%=font1%><b>
> <p>
> CHURCH VISITATION HOURS:
> </b>
> <blockquote>
> Monday &#150; Friday:<ul>
> <li>5:30 am - 4:30 pm
> </ul>
> Saturday:<ul>
> <li>7:30 am - 7:30 pm
> </ul>
> Sunday:<ul>
> <li>6:30 am - 7:30 pm
> </ul><%=font1%><p>
> To schedule a tour please call Jack Hoolehan at 541-4122 ext.18.</p>
> <p>Docents are available to give tours from 10:00am until 4:00pm (except
> Sundays).
> Please be aware that tours scheduled before 1:00pm may be limited due to
> Weddings and Funerals.<br>
> The Head Docent is Diane Stock.
>
> <% elseif area = "steward" then %>
>
> <%=font1%><p>
> Please direct Administration and Finance questions with regard to
donations
> and Parish donation records to Jim Skaggs, Financial Supervisor at
541-4122
> ext.23
>
> <% elseif area = "map" then %>
>
> <%=font1%><b>
> <p align="center">
> 2123 Roseland<br>
> Royal Oak, Michigan  48073<br>
>
> 248-541-4122<br>
> 248-541-2838 (fax)<br><br>
> <img src="images/map.church.gif" WIDTH="351" HEIGHT="425"><br><br>
>
> <% elseif area = "history" then %>
>
> <%=font1%>
> <p>
> Shrine of the Little Flower Parish was founded in 1926, six months after
the
> canonization of St. Therese of Lisieux. St. Therese was known as "The
Little
> Flower"
> and died in 1897. It is one of the first churches in the world and the
first
> church in North America dedicated in her honor.
> </p>
> <p>
> Recent years have added many new dimensions to the life of the parish
> community.
> It is a vibrant parish with 4000+ registered families.
> </p>
> <p>
> The Shrine was designated a National Shrine by the National Conference of
> Catholic Bishops in 1998.
> </p>
> <p>
> The entire church is built with Massachusetts' granite and Indiana
limestone
> interspersed with stone blocks from America's states and territories. Each
> is
> carved with the state name and flower.
> </p>
> <p>
> Around the base of the tower are several writings taken from scripture,
> quotes
> from Presidents Lincoln and Washington, a variety of crosses and the
> cornerstone
> dated 1929 in roman numerals.
> </p>
> <p>
> Church was founded and built by Father Charles E. Coughlin known as "the
> Radio
> Priest". His weekly broadcasts emanated from the 130-foot Tower.
> </p>
> <p>
> The Church building is one of the finest examples of Art Deco in the
> country.
> </p>
> <p>
> Church built in the round, with the altar in the center and seats about
> 3,000 people.
> </p>
> <p>
> The St. Therese Chapel has a side room called the Heritage Room, which
> contains
> artifacts and an illustrated history of the Shrine.
> </p>
> <p>
> The St. Therese relics visited the Shrine on November 3, 1999.
> </p>
> <p>
> Docents are available daily for tours.
> </p>
> <br><br>
>
> <% elseif area = "lifeteen" then %>
> <center>
> <img src="images/lifeteenlogo.gif" border="0" width="395" height="153">
> </center><br>
> <%=font1%>
> <b>Life Teen Steering Committee</b><br><br>
> Fr. Joe Horn<br>
> Mary Anne Markel<br>
> Ann Modes<br>
> Julie Whitmore<br>
> <br>
> <b>Life Teen Core Members</b><br><br>
> Mike Andrews<br>
> Shauna Andrews<br>
> Marco DeCapite<br>
> Jennifer Gillette<br>
> Kevin Guldi<br>
> Kelli LaVelle<br>
> Mary Anne Markel<br>
> Ann Modes<br>
> Tom Quirk<br>
> Michelle Robinson<br>
> Mike Schick<br>
> Christine Schulte<br>
> Sue Slajus<br>
> Mike Tymosko<br>
> Todd Zarotney<br>
> <br>
> <b>Winter Semester 2000:</b><br><br>
> <b>Life Nights:</b><br><br>
> 2/6 &#150; Language (We believe in God in word and deed)<br>
> 2/13 &#150; To Know Love (God&#146;s love through the ages)<br>
> 2/20 &#150; The Answer Is (How are we called to respond to God)<br>
> 2/27 &#150; Sustaining the Faith<br>
> <br>
> <b>Upcoming Events:</b><br><br>
> Feb. 13 &#150; March 19: Active Parenting of Teens and Pre-teens Group.
> Contact Steve Whitmore at (248) 547-1841 for more info.<br>
> April 28-30: Faith Explosion &#150; A Catholic Youth Bash in Lansing!<br>
> <img src="images/fridge.jpg" border="0" width="157" height="192">
> <br>
> <b>Life Teen is going to The Fridge!</b><br>
> Feb. 17:  All High School teens are invited to join us on Thursday,
> February 17 from 5:30 p.m. - 9:30 p.m. The cost is $5.00 per person
> (includes unlimited rides and the cost of gas.)There is a concession stand
> in
> the lodge for your convenience. Permission slips are a must! Please pick
up
> more
> information and a permission slip from a Life Night(which follows the 6
p.m.
> Sunday Life Teen Mass). All reservations are due by Sunday, Feb. 13.</p>
>
> <p>If you need more information, please call the parish office
> at (248) 541-4122 and someone will get back with you as soon as
> possible.</p>
>
>
> <b>Life Teen Band</b><br><br>
> Mark Affer<br>
> Dennis Farac<br>
> Jody Freeman<br>
> Karen Jogan<br>
> Rebecca Jones<br>
> Bob Mervak<br>
> Dan Wale<br>
> <br>
> <b>Life Teen Support</b><br><br>
> Fran Clancy<br>
> Dave Fiebig<br>
> Marie Fiebig<br>
> Tom Moll<br>
> Vickie Moll<br>
> Steve Utrup<br>
> Steve Whitmore<br>
> <br>
> <% end if %>
>
> <!-- #include file="footer2.inc" -->
>
>
> ______________________________________________________
> joe lauer                      rootlevel
> product developer              743 beaubien, suite 300
> p.313.961.4407 x302            detroit, mi 48226
> f.313.961.4568                 www.rootlevel.com
>
>
------------
Introduction
------------

The OpenASP project is an open source project with the goals of demonstrating
 various applications of Active Scripting with a clone of Active Server pages.

The current implementation runs on Apache versions 1.3.0 through 1.3.6 as well
as running as a NSAPI for the Netscape servers, all on the Win32 platform.  In
the future, implementations should be possible on other platforms.  This will
require a reimplementation of COM that is compatible with the implementation
used in Microsoft's ports of VBScript and JScript.

-------------------
Apache Installation
-------------------

Configuring Apache to use OpenASP is very simple; follow these two instructions

1. Add the following line to Apache's httpd.conf file:
LoadModule asp_module (path to apasp.dll)

2. Add the following line to Apache's mime.types file:
text/x-asp      asp

This will configure Apache to recognize the .asp extension, as well as to run
Active Scripting when files of that extension are found.

Versions of apasp.dll are provided for versions 1.3.0 through 1.3.2 of Apache.
Hopefully, the Apache group will eventually make future versions of the Apache
ABI be binary compatible with future versions.

----------------------------
Netscape Server Installation
----------------------------

Configuring Netscape Servers to use OpenASP requires the following
modifications:

1.  In obj.conf
      ...
      Init ...
      Init ...
      Init fn="load-modules" funcs="asp-proc" shlib=(path to nsasp.dll)
          
          ...

      <Object name="default">
      ...
      Service fn=asp-proc type=text/x-asp
          Service ...
          Service ...
      ...
      </Object>
2.  In mime.types
      type=text/x-asp exts=asp

-------------
ASP Resources
-------------

Microsoft has a very good site giving an over view of Active Server pages at
http://www.microsoft.com/iis/support/iishelp/iis/htm/asp/iiwawelc.htm, and a
reference document describing the methods and properties of ASP's intrinsic
objects at http://www.microsoft.com/iis/support/iishelp/iis/htm/asp/intr1orp.htm
 
--------------
Current Status
--------------

Apache Active Scripting is a work in progress.  The following list shows what
objects, methods, and properties are implemented, as well as any relevant notes:

ObjectContext                     No

Request                           Partial (collection must be specified)
Request.ClientCertificate         No
Request.QueryString               Yes
Request.Form                      Yes
Request.Cookies                   Yes
Request.ServerVariables           Yes
Request.TotalBytes                No
Request.BinaryRead                No

Response                          Partial
Response.Buffer                   Yes
Response.CacheControl             No
Response.Charset                  No
Response.ContentType              Yes
Response.Expires                  Yes
Response.ExpiresAbsolute          No    (almost supported)
Response.IsClientConnected        No
Response.Pics                     No
Response.Status                   No
Response.AddHeader                Yes
Response.AppendToLog              Yes
Response.BinaryWrite              Yes
Response.Clear                    Yes
Response.End                      Yes
Response.Flush                    Yes
Response.Redirect                 Yes
Response.Write                    Yes

Server                            Partial
Server.CreateObject               Yes
Server.HTMLEncode                 Yes
Server.MapPath                    Yes
Server.ScriptTimeout              No
Server.URLEncode                  Yes

Session                           Yes
Session.Abandon                   Yes
Session.CodePage                  No
Session.Contents                  Yes
Session.LCID                      No
Session.SessionID                 Yes
Session.StaticObjects             No
Session.Timeout                   Yes
Session_OnStart                   Yes
Session_OnEnd                     No

Application                       Yes
Application.Contents              Yes
Application.Lock                  Yes
Application.Unlock                Yes
Application.StaticObjects         No
Application_OnStart               Yes
Application_OnEnd                 No

Standard Base Components          No

---------------
Global.asa Note
---------------

Currently, the global.asa file is not supported - handlers for the Application
and Session events are being handled in the individual ASP files for the time
being.




Reply via email to