You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl@tcl.apache.org by Re...@nokia.com on 2002/11/18 10:43:58 UTC
Problem in opening .ttml file under Windows NT
Hi,
I am trying to make mod_dtcl work for Windows NT with:
Apache (with ssl) version: 1.3.26
Tcl version: 8.4
Added following lines in httpd.conf file:
LoadModule dtcl_module modules/mod_dtcl.so
AddType application/x-httpd-tcl .ttml
Now after restarting Apache if i try to open a test1.ttml file, following error messages are shown in the error.log:
**************************************************************************************
[Mon Nov 18 14:56:53 2002] [warn] Loaded DSO modules/mod_dtcl.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
[Mon Nov 18 14:56:53 2002] [warn] module mod_dtcl.c is already added, skipping
[Mon Nov 18 14:57:02 2002] [error] [client 172.18.173.119] c:/program files/apache group/apache/cgi-bin/test1.ttml is not executable; ensure interpreted scripts have "#!" first line
[Mon Nov 18 14:57:02 2002] [error] [client 172.18.173.119] couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/test1.ttml
******************************************************************************************
This shows mod_dtcl is not loaded properly. I don't have environment to compile mod_dtcl with Apache.
Any help would be greatly appreciated.
Thanks,
Reema.
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org
Re: Problem in opening .ttml file under Windows NT
Posted by "David N. Welton" <da...@dedasys.com>.
<Re...@nokia.com> writes:
> I am trying to make mod_dtcl work for Windows NT with: Apache (with
> ssl) version: 1.3.26 Tcl version: 8.4
> Added following lines in httpd.conf file:
>
> LoadModule dtcl_module modules/mod_dtcl.so
> AddType application/x-httpd-tcl .ttml
>
> Now after restarting Apache if i try to open a test1.ttml file,
> following error messages are shown in the error.log:
>
> **************************************************************************************
> [Mon Nov 18 14:56:53 2002] [warn] Loaded DSO modules/mod_dtcl.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
> [Mon Nov 18 14:56:53 2002] [warn] module mod_dtcl.c is already added, skipping
> [Mon Nov 18 14:57:02 2002] [error] [client 172.18.173.119] c:/program files/apache group/apache/cgi-bin/test1.ttml is not executable; ensure interpreted scripts have "#!" first line
> [Mon Nov 18 14:57:02 2002] [error] [client 172.18.173.119] couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/test1.ttml
> ******************************************************************************************
> This shows mod_dtcl is not loaded properly. I don't have environment
> to compile mod_dtcl with Apache.
Looks to me like something else is trying to execute that file - as a
CGI, for instance... I'm not sure though, what might be going on.
I've never seen this problem before.
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org
Re: Problem in opening .ttml file under Windows NT
Posted by David Brancato <Da...@Brancato.com>.
----- Original Message -----
From: <Re...@nokia.com>
> I am trying to make mod_dtcl work for Windows NT with: Apache (with
> ssl) version: 1.3.26 Tcl version: 8.4
> Added following lines in httpd.conf file:
>
> LoadModule dtcl_module modules/mod_dtcl.so
> AddType application/x-httpd-tcl .ttml
>
> Now after restarting Apache if i try to open a test1.ttml file,
> following error messages are shown in the error.log:
>
>
****************************************************************************
**********
> [Mon Nov 18 14:56:53 2002] [warn] Loaded DSO modules/mod_dtcl.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please recompile
it with -DEAPI)
> [Mon Nov 18 14:56:53 2002] [warn] module mod_dtcl.c is already added,
skipping
> [Mon Nov 18 14:57:02 2002] [error] [client 172.18.173.119] c:/program
files/apache group/apache/cgi-bin/test1.ttml is not executable; ensure
interpreted scripts have "#!" first line
> [Mon Nov 18 14:57:02 2002] [error] [client 172.18.173.119] couldn't spawn
child process: c:/program files/apache group/apache/cgi-bin/test1.ttml
>
****************************************************************************
**********
.ttml files shouldn't be in the cgi-bin as they aren't executable in that
way. Move the file into a regular, non-executable directory. As
far as the "module is already added" message, this seems more like a general
apache
config issue. Not sure what's causing that. The module will *most likely*
work despite that error message.
- David Brancato
---------------------------------------------------------------------
To unsubscribe, e-mail: mod_dtcl-unsubscribe@tcl.apache.org
For additional commands, e-mail: mod_dtcl-help@tcl.apache.org