Project

General

Profile

[installation] application display list of web file

Added by rémy neoxen almost 10 years ago

Hello guys,

I try to install redmine on my archlinux, but after following all tutorial available in the web (ruby, passengers are installed) my redmine web application display just the content of public folder ([url]http://redmine.limpius.fr/[/url]).

here is my vhost

<VirtualHost *:80>
    PassengerDefaultUser http
       ServerName redmine.limpius.fr
       RailsEnv production
       SetEnv RAILS_ENV production

    DocumentRoot /srv/http/production/redmine/

    ErrorLog /var/log/httpd/error_redmine.log
    CustomLog /var/log/httpd/access_redmine.log combined

    LogLevel warn

    RailsBaseURI /
    <Directory "/srv/http/production/redmine/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    </VirtualHost>

with /srv/http/production/redmine/ is a symbolic link to redmine public folder

In my httpd.conf i add 3 line to add passenger module

    LoadModule passenger_module modules/mod_passenger.so
PassengerRoot /usr/lib/passenger
PassengerRuby /usr/bin/ruby

LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule php5_module modules/libphp5.so

when apache is restarting, there are not error in error_log

[Mon Aug 18 16:31:49.840108 2014] [lbmethod_heartbeat:notice] [pid 22391] AH02282: No slotmem from mod_heartmonitor
[ 2014-08-18 16:31:49.8428 22432/7f1f79908740 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'http', 'default_python' => 'python', 'default_ruby' => 'g', 'default_user' => 'http', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/passenger', 'passenger_version' => '4.0.45', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.45', 'web_server_pid' => '22391', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2014-08-18 16:31:49.8473 22435/7fb5a17e1740 agents/HelperAgent/Main.cpp:649 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.22391/generation-0/request
[ 2014-08-18 16:31:49.8515 22440/7f919b9b1780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.22391/generation-0/logging
[ 2014-08-18 16:31:49.8517 22432/7f1f79908740 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Mon Aug 18 16:31:49.859338 2014] [mpm_prefork:notice] [pid 22391] AH00163: Apache/2.4.10 (Unix) Phusion_Passenger/4.0.45 mod_fcgid/2.3.9 PHP/5.5.15 configured -- resuming normal operations
[Mon Aug 18 16:31:49.859368 2014] [core:notice] [pid 22391] AH00094: Command line: '/usr/bin/httpd'

I become crazy, i don't understand why is not working