[Mono-list] Process has not been started
yage
spam8 at jugglemonkey.net
Thu Mar 27 14:38:14 EDT 2008
Is this a correct virtualhost definition for mono?
--
<VirtualHost 10.0.0.10:80>
ServerAdmin support at blah.net
DocumentRoot /home/asptest/htdocs
ServerName www.asptest.com
ErrorLog /home/asptest/logs/error_log
CustomLog /home/asptest/logs/access_log combined
Alias /demo /home/asptest/htdocs
MonoApplications "/demo:/home/asptest/htdocs"
MonoServerPath /usr/lib64/mono/1.0/mod-mono-server.exe
<Directory /home/asptest/htdocs>
SetHandler mono
</Directory>
</VirtualHost>
--
mod_mono.conf contains:
--
<IfModule !mod_mono.c>
MonoAutoApplication enabled
LoadModule mono_module /usr/lib64/httpd/modules/mod_mono.so
AddType application/x-asp-net .aspx
AddType application/x-asp-net .asmx
AddType application/x-asp-net .ashx
AddType application/x-asp-net .asax
AddType application/x-asp-net .ascx
AddType application/x-asp-net .soap
AddType application/x-asp-net .rem
AddType application/x-asp-net .axd
AddType application/x-asp-net .cs
AddType application/x-asp-net .config
AddType application/x-asp-net .Config
AddType application/x-asp-net .dll
# AddHandler mono .aspx
DirectoryIndex index.aspx
DirectoryIndex Default.aspx
DirectoryIndex default.aspx
</IfModule>
--
The above configuration makes the browser try to download the .aspx file
:/ I've scoured google and im stumped, if anyone can offer any pointers
id be very grateful.
yage
yage wrote:
> I've got a bit further, it seems the files are being processed now but
> IE and firefox both keep trying to make me download the file instead of
> displaying it correctly :/
>
>
> yage wrote:
>> Hi,
>>
>> I'm using (or trying to use) mod_mono on CentOS 5.
>>
>> I get the "Process has not been started" error but the fixes i found on
>> google don't work, I've added a .wapi (apache:apache) directory to
>> /var/www, and if i su to apache the mcs compiler appears to work:
>>
>> # su apache
>> bash-3.1$ mcs
>> error CS2008: No files to compile were specified
>> Compilation failed: 1 error(s), 0 warnings
>> bash-3.1$
>>
>> I can't find any useful logging messages for mod_mono so any help in
>> debugging this issue would be much appreciated. mcs is definitely in
>> $PATH (/usr/bin).
>>
>> Thanks,
>>
>> yage
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> 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