|
我配置了我的APAHCE,改动的主要配置如下:
......
LoadModule mono_module modules/mod_mono.so
Alias /test /web
AddMonoApplications test "/test:/web"
MonoServerPath /usr/bin/mod-mono-server
<Location /web>
SetHandler mono
</Location>
.......
# Virtual host Default Virtual Host
<VirtualHost *>
ServerSignature email
DirectoryIndex index.aspx index.php index.html index.htm index.shtml
LogLevel warn
HostNameLookups off
</VirtualHost>
NameVirtualHost 192.168.2.19
<VirtualHost 192.168.2.19>
DocumentRoot "/web"
ServerName www.test.com
DirectoryIndex index.aspx
LogLevel warn
HostNameLookups off
</VirtualHost>
.................
<Directory "/">
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/html">
Options Includes ExecCGI FollowSymLinks
IndexOptions Charset=GBK
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/icons">
Options MultiViews
AllowOverride All
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/cgi-bin">
Options ExecCGI
AllowOverride All
Allow from all
Order allow,deny
</Directory>
重启apache时提示:
[crit] The unix daemon module not initialized yet. Please make sure that your mod_mono module is loaded after the User/Group directives have been parsed. Not initializing the dashboard.
这是怎么回事呢????我的MONO是加载了啊~~
大家有没有好的办法解决apache+mono运行的问题呢?
我发现对于.NET 1.1的程序,只用XSP就可以解决了! 但是不用APACHE不好监控啊·~也不好控制啊!毕竟XSP太简陋了~~~~
请大家把具体方法说一下吧~~~不胜感激啊~~~~~
:% |
|