[Xitami] ASP MIME won't work. please help

Magnus Wedberg xitami@lists.xitami.org
Mon, 04 Oct 2004 11:22:10 +0200


> I am somewhat new to using Xitami and I really need ot activate ASP to
> work in my web pages.
> 
> I know, many will say, You're not running IIS, then why and so on.
> Just trust me, I have 100,000 line sof code ready made and I want to
> use what I have, not re-invent the wheel again. Just get my site up
> and running.
> 
> SO, to make it simple...
> 
> I added the mime type in the default.cfg file to specify asp=text/html

Wrong way to do it. That will only serve up the ASP code as HTML as 
you discovered. You need to add a filter. Like:
[Filter]
    .asp=D:\\chilisoft\\asp.exe

But: Xitami can't run ASP. Only IIS and PWS can, natively, for others 
(xitami included) you need an ASP parser such as Chilisoft ASP (now 
obviously bought by Sun, don't know of alternatives, only that there 
are). You will have to run it in CGI mode, which is very slow. The 
beta version of Xitami has ISAPI support and may run some kind of 
ISAPI ASP parser (much, much faster), but the beta version is less 
stable and much buggier in my experience. Basically, Xitami is very 
ill-suited to doing ASP, or indeed any kind of server-side scripting 
requiring CGI parsing.

Plus, Xitami is unofficially dead. No long term solution. My advice 
would be to switch to something supported. 
 
-- 
Magnus Wedberg
http://www.magnuswedberg.com/
mw AT 9000.org
Warning! Objects in viewfinder may be closer than they appear.