Project

General

Profile

index.html not exist in redmine/public

Added by sitesv sitesv about 11 years ago

Good Day!
1. RedMine dir /var/www/test/data/www/redmine-2.3
2. I made a link to /var/www/redmine
3. When i try to go to http://localhost i see list of files redmine/public/*
4. What file should be loaded to browser? index.html? Index.html does not exist in 'public' dir.
5. When i trying to reload/restart apache2:
Syntax error on line 5 of /etc/apache2/sites-enabled/redmine.example.com:
Invalid command 'PassengerDefaultUser', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
failed!

Please, help.
/etc/apache2/sites-enabled/redmine.example.com:
<VirtualHost *:80>
ServerName redmine.example.com
ServerAlias redmine.example.com
DocumentRoot /var/www/redmine
PassengerDefaultUser www-data
<Directory /var/www/redmine>
Order allow,deny
Allow from all
RailsEnv production
</Directory>
</VirtualHost>

/etc/apache2/mods-available/passenger.conf:
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/
PassengerRuby /usr/bin/ruby/1.8

<IfModule mod_passenger.c>
PassengerDefaultUser www-data
PassengerRoot /usr
PassengerRuby /usr/bin/ruby
</IfModule>

/etc/apache2/httpd.conf:
GNU nano 2.2.4 File: httpd.conf

<VirtualHost *:80>
ServerName redmine
ServerAdmin
DocumentRoot /var/www/test/data/www/redmine/public/
ErrorLog /var/www/test/data/www/redmine/log/redmine_error_log
MaxRequestLen 20971520
<Directory "/var/www/test/data/www/redmine/public/">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>


    (1-1/1)