My 2 paisas

Posts Tagged ‘#redmine

After installing Redmine on the server, I wanted the default home page when to be shown as the home page of my project and not the complete redmine directory. After searching for a while, I found that it can be dome by doing necessary changes in routes.rb file in the config directory. Then I asked it in #redmine channel on freenode server in IRC. And I found the solution there thanks to “relaxdiego”.
I have copied the chat here so that I dont miss anything that was pointed out by him(Also I am too lazy to write it all again).
iggy_prabhu> hi friends
viggy_prabhu> I have installed redmine and added one of my projects
viggy_prabhu> now i want that whenever i open the redmine domain, it directly opens the home page of the project and not the home page
viggy_prabhu> Can I do this by route.rb file or should I use rewrite mod in apache to do this
viggy_prabhu> ?
relaxdiego> viggy_prabhu: try modifying the map.home entry in routes.rb
viggy_prabhu> relaxdiego, any good HOWTO before I start modifying it?
* jas4711_ has quit (“Ex-Chat”)
relaxdiego> none that I know of
relaxdiego> map.home ”, :controller => ‘projects’, :project_id => (your project’s id)
relaxdiego> try that
relaxdiego> and for Rails routing:
viggy_prabhu> relaxdiego, i have done the necessary changes
viggy_prabhu> should I restart my apache?
relaxdiego> yep
viggy_prabhu> i did it and got the changes
viggy_prabhu> but i want projects/show/myproject to appear instead of the list of projects
viggy_prabhu> (at present I have only one project)
viggy_prabhu> relaxdiego, hope you got my doubt?
relaxdiego> what’s your project’s id?
relaxdiego> map.home ”, :controller => ‘projects’, :action => ‘show’, :project_id => (your project’s id)
* kibaho1 ( has joined #redmine
viggy_prabhu> relaxdiego, “The page you were trying to access doesn’t exist or has been removed” i am getting this error now
viggy_prabhu> map.home ”, :controller => ‘projects’, :action => ‘show’, :project_id => ‘myproject’
relaxdiego> sorry, i think i got it wrong
relaxdiego> this works for me –> map.home ”, :controller => ‘projects’, :action => ‘show’, :id => (project id)
viggy_prabhu> relaxdiego, finally it is working
viggy_prabhu> relaxdiego, thanks a lot for your time 🙂
relaxdiego> np 🙂


viggy_prabhu hi friends,
viggy_prabhu I am trying to configure apache2 to run redmine
viggy_prabhu I have followed the steps that were given on the site
viggy_prabhu but I am getting the “Internal Server Erro”
viggy_prabhu Error*
viggy_prabhu I am new to apache2 and Ruby on rails, so I might have done some mistake in configuration
viggy_prabhu the problem I dont know how to check that?
viggy_prabhu can anyone help me
viggy_prabhu ?
* kardan| ( has joined #redmine
viggy_prabhu I got the following error in my apache2 error log file “apache2: Could not reliably determine the server’s fully qualified domain name”
viggy_prabhu “[Tue Sep 01 20:31:28 2009] [alert] [client] /var/www/redmine/public/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration”
viggy_prabhu can anybody help me
* hobodave (n=hobodave@ has joined #redmine
* hobodave has quit (Remote closed the connection)
* hobodave (n=hobodave@ has joined #redmine
viggy_prabhu Got the solution
viggy_prabhu I just had to enable the rewrite module in apache2

Links that I liked to save

Blog Stats

  • 45,501 hits