On Sat, Sep 25, 2010 at 9:42 AM, Mohammed Rashad
<[email protected]> wrote:
> Hi Dave,
> I can run other cgi scripts and also python (.py files) within web browser
> I compiled and installed Wt. boost and graphicsmagick i installed from
> ubuntu repo
> also cmake detects both boost and graphicsmagick.
>  wt works when issuing this command
> ./hello.wt --http-port 8080 --http-host 0.0.0.0 --docroot .
> and when i point to localhost:8080 i can run the hello.wt application
> but dont know how to configure wt to run .wt files from web browser
> Is these information enough for you. I am ready to give any information for
> the working of .wt files
> and Thanks for offering me help. I expect more from you...

Mohammed -

It sounds like you've made a good start. But don't expect too much. :)

Have you tried copying hello.wt to your cgi-bin directory? Assuming
that your httpd server is on your localhost, you might then try to
execute your local copy of hello.wt by typing

   http://localhost/cgi-bin/hello.wt

If you are going to use .wt as the suffix to your executables, you
might have to modify your /etc/httpd/conf.d/fcgid.conf:

<IfModule !mod_fastcgi.c>
   AddHandler fcgid-script fcg fcgi fpl wt
</IfModule>

and probably restart your webserver.

Hope that helps.

-Dave

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to