moving from myweb.com/redmine to myweb.com
Added by Davide Careglio over 12 years ago
Hi all,
I would like to have myweb.com as main page instead of myweb.com/redmine.
I tried to change /etc/apache2/sites-available/default and the symlink but it seems not working.
Any help please? Thanks!
this is my configuration
OS: Ubuntu server 12.04
Apache with passenger: 2.2.22
Redmine version 2.2.2.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.11
Environment production
Database adapter MySQL
Replies (4)
RE: moving from myweb.com/redmine to myweb.com
-
Added by Jan Niggemann (redmine.org team member) over 12 years ago
You need to edit your webserver config, do you use apache? Please post the relevant portions of your config.
RE: moving from myweb.com/redmine to myweb.com
-
Added by Davide Careglio over 12 years ago
Hi Jan,
I'm using Apache and this is the config. Thanks!
cat /etc/apache2/sites-available/default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
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 "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/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>
</VirtualHost>
RE: moving from myweb.com/redmine to myweb.com
-
Added by Jan Niggemann (redmine.org team member) over 12 years ago
Set the DocumentRoot to your redmine directory...
RE: moving from myweb.com/redmine to myweb.com
-
Added by Davide Careglio over 12 years ago
Many thanks!