httpd.conf
#subversion
DAV svn
SVNPath /home/svn
AuthType Basic
AuthName "subversion repository"
AuthUserFile /etc/subversion/passwd
AuthzSVNAccessFile /etc/subversion/authz
# Satisfy Any
Require valid-user
#jk tomcat
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkShmFile /var/log/apache2/jkstatus
JkLogLevel warn
#passenger rails
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.15
PassengerRuby /usr/local/bin/ruby
ServerName 192.168.0.101
DocumentRoot /var/www
RailsBaseURI /redmine
RailsEnv development
JkMountFile /etc/apache2/uriworkermap.properties
===============================================
workers.properties
worker.list=s1, status
worker.s1.port=8009
worker.s1.host=localhost
worker.s1.type=ajp13
worker.status.type=status
===============================================
uriworkermap.properties
/hudson=s1
/hudson/*=s1
/nexus=s1
/nexus/*=s1
/jkstatus=status
===============================================
environment.rb
config.action_controller.relative_url_root = '/redmine'
===============================================
在/var/www建立软连接
ln -s /usr/local/redmine-0.9.6/public /var/www/redmine
没有评论:
发表评论