mono-apache配置

<VirtualHost *:80>
  DocumentRoot /var/www
  KeepAlive On
  MonoServerPath default-site "/usr/bin/mod-mono-server4"
  
  MonoDebug default-site true
  
  MonoSetEnv MONO_THREADS_PER_CPU=100
  CustomLog /proc/self/fd/1 combined
  ErrorLog /proc/self/fd/2

  MonoApplications default-site "/:/var/www"
  <Location "/">
    Allow from all
    Order allow,deny
    MonoSetServerAlias default-site
    SetHandler mono
    SetOutputFilter DEFLATE
    SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
  </Location>
  <Location /mono>
    Allow from all
    Order allow,deny
    SetHandler mono-ctrl
  </Location>
  <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript
  </IfModule>
</VirtualHost>

 

posted @ 2016-09-14 09:39  shiningrise  阅读(618)  评论(0编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css