[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting, installing Redmine




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 08/20/2015 09:35 AM, tomas@tuxteam.de wrote:
>> content of /etc/apache2/sites-enabled
>> > root@supercrunch:/etc/apache2/sites-enabled# ll
>> > total 0
>> > lrwxrwxrwx 1 root root 35 Apr 28 00:22 000-default.conf ->
>> > ../sites-available/000-default.conf
>> > lrwxrwxrwx 1 root root 47 Aug 19 18:42 apache2-passenger-alias.conf
>> > -> ../sites-available/apache2-passenger-alias.conf
>> > lrwxrwxrwx 1 root root 31 Aug 17 19:37 redmine.conf ->
>> > ../sites-available/redmine.conf
>> >


> This looks sane so far. Although I'm a bit confused by seeing a
> apache2-passenger-alias *and* a redmine conf. But that might
> be OK.


I would disable the redmine.conf as it can overlap with apache2-passenger-alias.conf
And it makes no sense to have 2 configs for the same application.

>
>
>> > And the content of apache2-passenger-alias.conf
>> > # The passenger module (from the libapache2-mod-passenger package) must be
>> > # enabled
>> > <VirtualHost *:80>
>> >     # ServerName localhost
>> >     # this is the passenger config
>> >     RailsEnv production
>> >     SetEnv X_DEBIAN_SITEID "default"
>> >     SetEnv RAILS_RELATIVE_URL_ROOT "/redmine"
>> >     PassengerDefaultUser www-data
>> >     # apache2 serves public files
>> >     Alias "/redmine/plugin_assets/" /var/cache/redmine/default/plugin_assets/
>> >     Alias "/redmine" /usr/share/redmine/public
>> >     <Location /redmine>
>> >         PassengerBaseURI /redmine
>> >         PassengerAppRoot /usr/share/redmine
>> >     </Location>
>> >     <Directory "/usr/share/redmine/public">
>> >         Allow from all
>> >         Options -MultiViews
>> >         Require all granted
>> >     </Directory>
>> > </VirtualHost>


You haven't set the ServerName .
Please set it and restart apache2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJV1YeFAAoJEBz3khEbUiiwWaEQAKxnfyzvK3YCwrfS97ZtEy8x
SMsqda+VPiThJGHvRlxwECu0TrxSKfmfOy4dbH0Nor/UDmsfez7gGOixvvXvWo9t
r1j6bq3Ldt1fyiLshntHs+wCcxqcIx/xKy+U8P422mbbZyt7ck/z/lrciY4YWDJm
ALYKilenWsewamcr4/QnMfh+s6MzyplA532kJZdJc04EXaPfFQYYKx8N5/DoDITB
ol1Klsg+VI3M9op7QYOj7FXgjxLzxSfKucOLUc7yeJuRtKgyrZgak95IO1gQAOoB
G6p4EUfMge6ktcJRJkt4TFWgPgi2wYfQLOFUBHRu9ZEXTelWEbH5mOSE3eVulmj9
1AKq+iatA90Q4IucwTXGDo/vA7yXikKJSqqrlEHN60ezNTJv/xHz1ffphOoUrnO2
3nYiWjC1zJt4RJrKe1vOwI/MfFunPEVMmVEx4i/MqrWI1/R7/c3YdH3EGWcJDCtq
+LDStvnvzqd7K3NrGMp7lmb2K6MtpJr/QZn26DkLTIhx0H/6p+4648NUD2Wh4IQN
lqvDdPrkAYt+ivR05kJe54MK/fzCg05ArtkoKIDdWy5FSnK6vCCPsXU5EKZ06AYt
v7m4tj4r6JLQExxoabirqmJz6rqMQAGyKdKgjrJQ5SsQiLh8F2+gpz4rfIBIV3Iv
SNhhkKFHVTdORXZ/J1vN
=5jHH
-----END PGP SIGNATURE-----


Reply to: