[Mono-devel-list] mod_mono/xsp and external javascript files

Phillip Hitchcock phitchcock at xtra.co.nz
Thu Dec 16 07:48:56 EST 2004


so i should be able to have .js files under the monoapplication path?

the apache document root is /srv/www/htdocs/

i have a mono application diffined at

Alias /Btools/ /srv/www/htdocs/Btools
MonoApplications "/Btools:/srv/www/htdocs/BTools/"

<Directory /srv/www/htdocs/BTools>
    setHandler Mono
    ....
</Directory>

if i have the js files at
/srv/www/htdocs/BTools/javascript/foo.js

i get 500 returns in the apache access_log on the request for the js file.

if i have it outside the monoapplication path it works fine...


the setHandler mono under the directory tag bothers me...  do i need to 
alter this somehow to make it only handle specific files?  and let apache 
deal with the rest?


any help would be greatly appreciated

thanks



----- Original Message ----- 
From: "Gonzalo Paniagua Javier" <gonzalo at ximian.com>
To: "Mono Development" <mono-devel-list at lists.ximian.com>
Sent: Friday, December 17, 2004 1:01 AM
Subject: Re: [Mono-devel-list] mod_mono/xsp and external javascript files


> >On Thu, 2004-12-16 at 17:29 +1300, Phillip Hitchcock wrote:
>>Hi all
>
>>just starting out with mono and come accross a funny problem, niether
>>mod_mono or xsp seem to serve up external javascript files.  apache2
>>log reports a 500 return on the request.
>
>>i find this funny because a while back i tried css files and it worked
>>fine.
>
>>i can get ti to work by moving the javascript file out of the
>>application path so apache deals with it... but really i having it all
>>together.
>
> Errrr. Of course it works. Javascript files, css files, whatever...
> Nothing special is done with them. They are handled by the
> StaticFileHandler just like any other non-aspx files.
>
> -Gonzalo
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list 





More information about the Mono-devel-list mailing list