[Mono-list] mod_mono error 404 /var/www/html
Petr Felzmann
petr.felzmann at centrum.cz
Mon Jan 2 07:15:41 EST 2006
Missing the char '/' in <location /test> was only typing error. In real httpd.conf I have it right. I can configure Apache according the
[1] or the [2] and the Apache is still searching in bad directory /var/www/html/test when I type the http://localhost/test into the browser. Here is the record from /var/log/httpd/error_log:
[Mon Jan 02 12:54:24 2006] [error] [client 127.0.0.1] File does not exist: /var/www/html/test
But the right directory are /usr/lib/xsp/test (setting according [1]) and /var/www/test (setting according [2]).
Thanks for help, Petr.
[1] http://mono-project.com/Mod_mono
[2] http://www.mono-project.com/AutoConfiguration
> > 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.
>
> Try prepending a '/' to 'test': "<location>"
>
> Also, if you followed the instructions in the auto-configuration web
> page, you shouldn't be using 'SetHandler'. Just include mod_mono.conf.
>
> -Gonzalo
More information about the Mono-list
mailing list