[Mono-list] mod_mono error 404 /var/www/html

Petr Felzmann petr.felzmann at centrum.cz
Fri Dec 23 02:16:57 EST 2005


I configured Apache according the http://www.mono-project.com/AutoHosting and copy the test directory contained the asp.net application into the /var/www but the same 404 error occured.

What is strange for me is why the Appache still want to find the files in /var/www/html directory?

Petr Felzmann
______________________________________________________________
> Od: chris at turchin.net
> Komu: Petr Felzmann <petr.felzmann at centrum.cz>,Gonzalo Paniagua Javier <gonzalo at ximian.com>
> CC: 
> Datum: 22.12.2005 23:39
> Předmět: Re: [Mono-list] mod_mono error 404 /var/www/html
>
> Hi,
> 
> did you find a fix for this? I am having a similar problem, which I
> think first started since the autohosting was introduced
> (http://www.mono-project.com/AutoHosting). 
> 
> It seems to me that autohosting has occasional troubles when using
> aliased locations, for example, with this configuration:
> 
> Alias /blogx /data/web/blogx
> <location>
>         Order allow,deny
>         Allow from all
> </location>
> 
> Alias /gd-gallery /data/web/gd-gallery
> <location>
>         Order allow,deny
>         Allow from all
> </location>
> 
> I occasionally get 404'ed with an error (for example, though it happens
> for both asp.net apps) that the "blogx/ folder was not found
> in /srv/www/htdocs" (where it does not belong to begin with!), but when
> I restart with "apache2ctl restart" then it works.
> 
> if you find a solution, pls cc the list.
> 
> thanks.
> regards,
> --chris
> 
> On Thu, 2005-12-22 at 15:55 +0100, Petr Felzmann wrote:
> > Hi,
> > I installed
> > 
> > Fedora Core 4
> > mono 1.1.12_0
> > xsp 1.1.10.1
> > apache 2.0.55
> > mod_mono 1.1.10.1
> > 
> > I wrote
> > 
> > LoadModule mono_module modules/mod_mono.so
> > Alias /test "/usr/lib/xsp/test"
> > AddMonoApplications default "/test:/usr/lib/xsp/test"
> > <location test="">
> > SetHandler mono
> > </location>
> > 
> > to the httpd.config.
> > 
> > There are all the needed files in the directory /usr/lib/xsp/test (from
> > xsp installation). I run the web server by command httpd (request for
> > http://127.0.0.1 is OK). I write into the browser the URL
> > http://127.0.0.1/test/index.aspx and I obtain the error 404 Not Found.
> In
> > httpd error_log I have the error
> > 
> > [Thu Dec 22 14:27:16 2005] [error] [client 127.0.0.1] File does not
> exist:
> > /var/www/html/test
> > 
> > What is wrong? Thanks Petr Felzmann.
> > 
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> 
>



More information about the Mono-list mailing list