[Mono-list] mod_mono + Windows
manel
manelzaera at yahoo.es
Wed Dec 14 04:40:19 EST 2005
Hi all,
I'm trying to run mod_mono on a Windows box. When I access the
http://localhost/test or http://localhost/index.aspx URL, as in
http://www.mono-project.com/Mod_mono I get a Service unavailable error
(503).
This is the http.conf mono-related configuration:
LoadModule mono_module modules/mod_mono.so
...
Alias /test "c:\Archiv~1\Mono-1.1.10.1\lib\xsp\test"
MonoApplications default "/test:c:\Archiv~1\Mono-1~1.1\lib\xsp\test"
<Location /test>
SetHandler mono
</Location>
...
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
...
<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
This is the mod-mono-server.exe.config (UnixSocketFileName is ok?):
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="UnixSocketFileName" value="C:/Temp/mod_mono_server"/>
<add key="MonoApplications" value="/:." />
<add key="MonoServerDefaultIndexFiles"
value="index.aspx, Default.aspx, default.aspx, index.html,
index.htm" />
<add key="DBProviderAssembly"
value="Npgsql" />
<add key="DBConnectionType"
value="Npgsql.NpgsqlConnection" />
<add key="DBConnectionString"
value="server=127.0.0.1;user
id=monotest;password=monotest;dbname=monotest"/>
</appSettings>
</configuration>
Any idea?
Cheers,
Manel
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
More information about the Mono-list
mailing list