我的配置文件

1497阅读 0评论2011-10-28 alanland
分类:LINUX

。。
  1. ServerName localhost

  2. # pysvn
  3. Alias /pysvn /home/wangchengyi/software/pysvn/pysvn-1.7.5/Docs/pysvn.html

  4. # python doc
  5. Alias /py27 /usr/share/doc/python2.7-doc/html

  6. # test trac
  7. WSGIScriptAlias /trac/test /home/wangchengyi/Documents/trac/test/apache/trac.wsgi
  8. <Directory /home/wangchengyi/Documents/trac/test>
  9.     WSGIApplicationGroup %{GLOBAL}
  10.     Order deny,allow
  11.     Allow from all
  12. </Directory>

  13. # myscm trac
  14. WSGIScriptAlias /trac/myscm /home/wangchengyi/Documents/trac/myscm/apache/trac.wsgi
  15. <Directory /home/wangchengyi/Documents/trac/myscm>
  16.     WSGIApplicationGroup %{GLOBAL}
  17.     Order deny,allow
  18.     Allow from all
  19. </Directory>

  20. <LocationMatch "/trac/test/login">
  21.   AuthType Basic
  22.   AuthName "Trac"
  23.   AuthUserFile /home/wangchengyi/Documents/trac/test/password/trac.htpasswd
  24.   Require valid-user
  25. </LocationMatch>

  26. <LocationMatch "/trac/[^/]+/login">
  27.   AuthType Basic
  28.   AuthName "Trac"
  29.   AuthUserFile /home/wangchengyi/Documents/trac/test/password/trac.htpasswd
  30.   Require valid-user
  31. </LocationMatch>
。。


上一篇:Expected </Directory/home/wangchengyi/www/> but saw </Directory>
下一篇:scala分号推断