I'm new to apache2 and passenger to set-up rails apps and followed a tutorial on how to get redmine (rails app) set up (http://xdissent.com/2010/05/04/github-clone-with-redmine/).
It all works great but to access the app you need to go to the /redmine directory. I have set it up as redmine.local/redmine. It would be great if I could be just redmine.local.
I had a look through the files I set up as part of the apache/mongrel/passenger piece and took out references to the directory but alas its never that easy.
I would appreciate any assistance, or links to more information for beginners that I can learn from.
Thanks for your help! Adam
--- Updated ---
Some additional details, I have the following files which i made edits too as part of the set-up of the server:
/etc/apache2/conf.d/redmine
Include /opt/redmine/apps/redmine/conf/redmine.conf
/opt/redmine/apps/redmine/conf/redmine.conf
ProxyPass /redmine balancer://redminecluster
ProxyPassReverse /redmine balancer://redminecluster
<Proxy balancer://redminecluster>
BalancerMember http://127.0.0.1:3001/redmine
BalancerMember http://127.0.0.1:3002/redmine
Order deny,allow
Allow from all
</Proxy>
/opt/redmine/apps/redmine/config/mongrel_cluster.yml
---
prefix: /redmine
log_file: log/mongrel.log
port: "3001"
environment: production
pid_file: tmp/pids/mongrel.pid
servers: 2
/etc/apache2/sites-available/default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
<Directory /var/www/>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /var/www/usr/lib/cgi-bin>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory /var/www/usr/share/doc/>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
DocumentRoot /var/www
</VirtualHost>
I can't find a file that references the current directory /redmine as a route so not sure the server finds it in the first place - unless its that conf.d thing.