I have the current setup
- OpenSuSE 12.1
- Apache 2.2
Please note I am not a web developer or web admin at all.
I have installed redmine to test and have everything up and running.
I can browse to redmine on the local machine and over the network using x.x.x.x:3000
- listen.conf - added Listen 3000
- httpd.conf - DocumentRoot /srv/www/htdocs/redmine/public> Order allow, deny Allow from all AllowOverride all
- Opened port 3000 on firewall.
What I would actually like to do is to access redmine in the following manner:
x.x.x.x/redmine
I have tried reading up on this but my skill levels with apache is just not up to scratch.
Any pointers, ideas or clear documents I could read for this?
Kind regards,
Neill
UPDATE 1
For anybody that might come across this post, I got it working.
Some info first
- rails -v - Rails 3.2.8
- ruby -v - ruby 1.8.7 (2011-12-28 patchlevel 357) [i586-linux]
- redmine is installed at /webapps/redmine
Then,
Add a symbolic link:
ln -s /webapps/redmine/public/ /srv/www/redmine
- /etc/apache2/httpd.conf
<VirtualHost *>
ServerName serverName
DocumentRoot "/srv/www/"
Alias /redmine "/webapps/redmine/public"
ErrorLog /webapps/redmine/errorlog.log"
RailsEnv production
<Directory "/webapps/redmine/public">
Order allow,deny
Allow from all
AllowOverride all
Options Indexes FollowSymLinks +ExecCGI
</Directory>
RailsBaseURI /redmine
</VirtualHost>
/webapps/redmine/public:
cp dispatch.fcgi.example dispatch.cgi
which ruby - /usr/bin/ruby
/webapps/redmine/public/dispatch.cgi
Edit First line to directory from result of which command
That is what I did to get it working so hopefully it will help somebodyt else out there.
Regards
Neill