Gonzalo Paniagua Javier
gonzalo at ximian.com
Thu Dec 16 08:41:44 EST 2004
On Fri, 2004-12-17 at 01:48 +1300, Phillip Hitchcock wrote:
> 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
> if i have the js files at
> 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?
You can use AddHandler instead of SetHandler, but that's a workaround
for the problem you're having, not a solution.
Oh, btw, http://www.go-mono.com/docs/ is run by mod_mono and it has
> any help would be greatly appreciated
Go to mod_mono.c and #define DEBUG (there's a #undef right now).
Compile, install and you'll get more information on the actual error. If
that's not enough, check 'ps aux' to see the command line used to run
mod-mono-server.exe and run it by yourself in a console (apache user
must have write permissions to the unix socket created). Then try again
and you might get more info there.
More information about the Mono-devel-list