Title: Re: [Mason] Problems using Component:Ajax
You are correct.  I have multiple component roots in this test setup.  Here is the setup from my hander.pl file.

$apacheHandler{"test"} = new HTML::Mason::ApacheHandler(
                            comp_root => [ [ main => "/home/test/www" ],
                                                    [ editor => '/usr/local/fckeditor' ] ],
                            data_dir => "/home/test/mason/data",
                            allow_globals => [qw($debug)]);
 
I installed a version of FCKeditor that I wanted to have access to from all test applications.  I will remove the second comp_root and test it again.
 
Thanks for you help,
John


From: John Williams [mailto:[EMAIL PROTECTED]
Sent: Fri 8/25/2006 11:07 AM
To: Bull, John
Cc: mason-users@lists.sourceforge.net
Subject: Re: [Mason] Problems using Component:Ajax

On Fri, 25 Aug 2006, Bull, John wrote:

> Here is my example:

The example looks good.

> When I post the page my webserver produces the following error.
>
> "The requested URL /ajax/ajax.comp [main]/ajax/index.html
> [main]:my_ajax_test was not found on this server."

I looks like you are using multiple component roots, is that right?

I only use a single comp_root personally, so I didn't think about testing
it that way.  I'll have to setup something to test it.

Could you give me an idea how your component roots are set up?

~ John Williams


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to