Project

General

Profile

Redmine as non-virtual host?

Added by Steve Lefevre over 14 years ago

I'm trying to set up redmine on debian 5.0.3. The box I'm using is our PHP/Mysql development box. I've installed all of that part using debian packages; I'm not too familiar with Linux administration.

I have several development websites running on the box, and I keep the domain root as a plain virtual directory, so I can click on directory links and open up the website underneath it. I was hoping to host redmine in this manner.

I followed the http://www.redmine.org/attachments/2372/Redmine_Installation_on_Debian.pdf , and the last steps seem to indicate setting up redmine under a virtual host.

<VirtualHost *:80>
DocumentRoot /usr/local/lib/redmine-0.8/public
<Directory /usr/local/lib/redmine-0.8/public>
AllowOverride None
</Directory>
</VirtualHost>

  • Debian has a modularized httpd.conf where a lot of items, such as virtual host directives, are farmed out to separate files.

When I set up that virtual host according to the instructions, apache doesn't like serving my normal directories and websites anymore, with a 500 Internal Server Error

Can I avoid doing the virtual host so that I could navigate to 192.168.1.106/redmine/public/ or 192.168.1.106/redmine/ ? ( When I go there already, I just get a listing of the files )

Here's my environment:
About your application's environment
Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.5
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Application root /var/www/redmine
Environment production
Database adapter mysql
Database schema version 0