I have Redmine up and running (well so far, it might need more tweeking in the future). Here it is: I used the description on the redmine site for installing redmine on ubuntu with passenger (http://www.redmine.org/projects/redmine/wiki/HowTos -> http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu -> section 2 "Ubuntu 10.04 using Passenger") up to the point where u set the passenger default user. Then skip the rest, and go to /usr/share/redmine/public and edit .htaccess (create if needed) ad put the RailsBaseURI /redmine PassengerResolveSymlinksInDocumentRoot on directives in it (only these). Set permissions if needed (for www-data group) and restart Apache. And there u go. If u install it on an other system this should do the trick as well, since apache reads these directives when entering the directory and this overrides previously set rules by ISPConfing (putting them in a <Directory> tag doesn't seems to work for some reason). U don't need to check neither Ruby nor CGI for the site for this to work. Hope this helps!
On Debian i have done the following: Code: apt-get install libapache2-mod-passenger a2enmod passenger apache2ctl force-reload add website domain.tld in ispconfig download and extract redmine in website root (/var/www/domain.tld/redmine) add websiteoptions in ispconfig Code: DocumentRoot /var/www/domain.tld/redmine/public <Directory /var/www/domain.tld/redmine/public> Order allow,deny Allow from all </Directory> Alias /stats /var/www/domain.tld/web/stats # RewriteEngine On # RewriteCond %{HTTPS} off # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
all i am getting is this: webserver:~# aptitude install libapache2-mod-passenger Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Couldn't find any package whose name or description matched "libapache2-mod-passenger" Couldn't find any package whose name or description matched "libapache2-mod-passenger" No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done debian lenny
I am on squeeze, seems like mod-passenger is not in lenny. You can try backports: http://packages.debian.org/de/lenny-backports/libapache2-mod-passenger Squeeze http://packages.debian.org/squeeze/libapache2-mod-passenger
installed i just followed the instructions as described here and everything is running except ruby :/ http://www.dconstructing.com/admin/2010/01/11/setting-up-ruby-in-debian/ test1: like described in setp 8: http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Requirements Code: ruby script/server webrick -e production it did work, but it's not thought to be used in production... test2: http://xxx.com/index.rb Code: # The Greeter class class Greeter def initialize(name) @name = name.capitalize end def salute puts "Hello #{@name}!" end end # Create a new object g = Greeter.new("world") # Output "Hello World!" g.salute didn't work: Code: You don't have permission to access /index.rb on this server. test3: http://xxx.com/redmine/public/ didn't work: Code: You don't have permission to access /redmine/public/ on this server. info: [Thu Mar 03 15:55:24 2011] [notice] Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 Phusion_Passenger/2.2.15 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations config: DocumentRoot /var/www/developer.halbgasse.at/redmine/public <Directory /var/www/developer.halbgasse.at/redmine/public> Order allow,deny Allow from all </Directory> # RewriteEngine On # RewriteCond %{HTTPS} off # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} i want redm_iii_ne!
Sorry to repone a very old thread, I have installed into /home/redmine with user redmine, redmin start w/ot issue on port 5000 or 3000 (as I configure) I am unable to install as ftp user: Code: download and extract redmine in website root (/var/www/domain.tld/redmine) b/c my insatllation run as redmine user only Where should I change the user redmine is thought to be runned as?