Question

Redmine and wiki on same server

Posted September 4, 2013 2.7k views
Hi, I've got a droplet with redmine working at http://elt.kode1100.com/ I'd also like to put a wiki on the same server. If I remove the sites-enabled/elt file which configures redmine to work in apache2 the wiki is working at http://elt.kode1100.com/wiki/ Given a sites-available/elt.kode1100.com configuration as follows. I've been trying various ways to get both working at the same time but thus far unable. What do I need to adjust to share the server with redmine and the wiki. Ideally I'd like to access redmine at elt.kode1100.com/redmine ServerAdmin webmaster@localhost ServerName elt.kode1100.com ServerAlias www.elt.kode1100.com DocumentRoot /var/www/elt.kode1100.com/public_html Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ... Thanks Alex

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

4 answers
Please pastebin all of your virtualhost configs
Thanks for the help Kamal

1. sites-enabled/elt



ServerAdmin webmaster@elt

DocumentRoot /home/redmine/redmine/public



RailsBaseURI /public

Options Indexes MultiViews

AllowOverride None

Order allow,deny

allow from all



# ServerName www.elt.kode1100.com

# ServerAlias 37.139.1.236 elt.kode1100.com




2. sites-available/elt.kode1100.com







ServerAdmin webmaster@localhost
ServerName elt.kode1100.com
ServerAlias www.elt.kode1100.com

DocumentRoot /var/www/elt.kode1100.com/public_html

Options FollowSymLinks
AllowOverride None


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


# Ignore .htaccess files
AllowOverride None

# Serve HTML as plaintext, don't execute SHTML
AddType text/plain .html .htm .shtml .php

# Don't run arbitrary PHP code.
php_admin_flag engine off

# If you've other scripting languages, disable them too.




ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all




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/"

Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128

Sorry I didn't catch that pastebin

I've put the config here.

https://sites.google.com/site/sharezbxy3/
Try combining both virtualhosts into one virtualhost. You can't have two virtualhosts listening on the same domain, apache would just use one of them.
Submit an Answer