[Mono-list] File(s) not found?

David P. Donahue ddonahue@ccs.neu.edu
Wed, 25 Aug 2004 13:15:45 -0400


Permissions are all 664/775 for the www user/group which Apache uses.
Like I said, without the module loaded everything works as expected.  Is
the module running with a different set of permissions?  Even if it is,
does it need to open the files for writing?


David P. Donahue



---- Original Message ----

Subject: Re: [Mono-list] File(s) not found?
From: Gonzalo Paniagua Javier <gonzalo@ximian.com>
Reply-To: gonzalo.reply.to.the.list.iam.subscribed@ximian.com
To: mono-list@lists.ximian.com
Date: Tue, 24 Aug 2004 14:45:04 -0400

On Tue, 2004-08-24 at 11:03, David P. Donahue wrote:
> I have Apache 1.3.31 running the latest mono module and I'm finding 
> some strange behavior.  When the module is not loaded. Apache behaves 
> as expected.  However, when I restart httpd with the following in
> httpd.conf:
> 
> #####
> LoadModule mono_module libexec/apache/libmod_mono.so             
> AddModule mod_mono.c
> MonoApplications "/:/home/www/.www"
> MonoApplications "/test/eastgate:/home/www/.www/test/eastgate"
> <Directory /home/www/.www>
>     SetHandler mono
>     <IfModule mod_dir.c>
>         DirectoryIndex index.aspx default.aspx index.html default.html

> index.htm default.htm
>     </IfModule>
> </Directory>
> #####
> 
> then the server gives me a 404 error for every document I attept to 
> load.  I can get directory listings showing me the files, but any file

> requested by the browser (tested so far with .html, .aspx, .jpg, .txt)

> results in a 404 error.  Am I missing something?  Has anyone seen this

> before?  I'd really appreciate any help I can get, thank you.

Check the permissions of the files.

-Gonzalo