>> Issue to launch redmine on my new server, apache2 - passenger5 <<
Added by tony gencil over 9 years ago
Hi everybody,
i’m facing trouble on my plesk 12 debian 7 server, i used to have redmine installed on a plesk 9 , and i\’m trying to restore all this on this new server. i copy paste the files i had on the old server to the var/www/vhost/domaine/redmine , i created the database 'redmine' and import the dump, i installed ruby 1.9.1 , gems, passenger_module (it is running), my document root is DocumentRoot ”/var/www/vhosts/domaine/redmine/public” on httpd.conf , but each time i’m calling the http://redmine.domaine.fr/ , i have the :
Forbidden
You don’t have permission to access / on this server.
on the error.log : Directory index forbidden by Options directive: /var/www/vhosts/domaine.fr/redmine/public/
i did chmod 755 and even 777 on the redmine directory, tried to set it at www-data as user:group or psacln or psasrv (plesk common groups for regular website) … but nothing changes. I can reach directly some documents but still can launch redmine..
If anybody has a clue or any idea for me, i’ll be gratefull !
Thanks in advance
<VirtualHost 151.80.36.112:80 > ServerName "redmine.domaine.fr:80" ServerAlias "www.redmine.domaine.fr" ServerAlias "ipv4.redmine.domaine.fr" ServerAdmin "ovh@domaine.fr" UseCanonicalName Off DocumentRoot "/var/www/vhosts/domaine.fr/redmine/public" CustomLog /var/www/vhosts/system/redmine.domaine.fr/logs/access_log plesklog ErrorLog "/var/www/vhosts/system/redmine.domaine.fr/logs/error_log" <IfModule mod_suexec.c> SuexecUserGroup "gweb" "psacln" </IfModule> <IfModule mod_userdir.c> UserDir "/var/www/vhosts/domaine.fr/web_users" </IfModule> <IfModule mod_sysenv.c> SetSysEnv PP_VHOST_ID "959038f0-ed42-4582-8311-9f40cc903eed" </IfModule> ScriptAlias "/cgi-bin/" "/var/www/vhosts/domaine.fr/redmine/public/cgi-bin/" Redirect permanent /plesk-stat https://redmine.domaine.fr/plesk-stat Redirect permanent /webstat https://redmine.domaine.fr/webstat Redirect permanent /webstat-ssl https://redmine.domaine.fr/webstat-ssl Redirect permanent /ftpstat https://redmine.domaine.fr/ftpstat Redirect permanent /anon_ftpstat https://redmine.domaine.fr/anon_ftpstat Redirect permanent /awstats-icon https://redmine.domaine.fr/awstats-icon <IfModule mod_ssl.c> SSLEngine off </IfModule> SetEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/redmine.domaine.fr/etc/php.ini SetEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi <IfModule mod_fcgid.c> FcgidInitialEnv PP_CUSTOM_PHP_INI /var/www/vhosts/system/redmine.domaine.fr/etc/php.ini FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi FcgidMaxRequestLen 134217728 </IfModule> <Directory /var/www/vhosts/domaine.fr/redmine/public> <IfModule mod_perl.c> <Files ~ (\.pl$)> SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI allow from all PerlSendHeader On </Files> </IfModule> <IfModule mod_python.c> <Files ~ (\.py$)> SetHandler python-program PythonHandler mod_python.cgihandler </Files> </IfModule> <IfModule mod_fcgid.c> <Files ~ (\.fcgi$)> SetHandler fcgid-script Options +ExecCGI </Files> </IfModule> <IfModule mod_fcgid.c> <Files ~ (\.php$)> SetHandler fcgid-script FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php Options +ExecCGI </Files> </IfModule> Options -Includes +ExecCGI </Directory> <Directory /var/www/vhosts/domaine.fr/web_users> <IfModule mod_php4.c> php_admin_flag engine off </IfModule> <IfModule mod_php5.c> php_admin_flag engine off </IfModule> </Directory> <Directory /var/www/vhosts/redmine.domaine.fr> Options +FollowSymLinks </Directory> <Directory "/var/www/vhosts/system/redmine.domaine.fr/statistics"> AuthType Basic AuthName "Statistiques du domaine" AuthUserFile "/var/www/vhosts/system/redmine.domaine.fr/pd/d..httpdocs@plesk-stat" require valid-user </Directory> Include "/var/www/vhosts/system/redmine.domaine.fr/conf/vhost.conf" <IfModule mod_security2.c> </IfModule> </VirtualHost>
actionmailer (3.2.6) actionpack (3.2.6) activemodel (3.2.6) activerecord (3.2.6) activeresource (3.2.6) activesupport (3.2.6) arel (3.0.2) blankslate (2.1.2.4) builder (3.0.0) bundler (1.11.0, 1.10.6, 1.1.4) erubis (2.7.0) hike (1.2.1) hoe (3.0.3) i18n (0.6.0) journey (1.0.3) jquery-rails (2.0.2) mail (2.4.4) mime-types (1.19) minitest (3.2.0) multi_json (1.3.6) mysql (2.8.2) passenger (5.0.16) polyglot (0.3.3) rack (1.6.4, 1.4.1) rack-cache (1.2) rack-ssl (1.3.2) rack-test (0.6.1) rails (3.2.6) railties (3.2.6) rake (10.4.2, 0.9.2.2) rdoc (3.9.4) sass (3.1.19) sass-rails (3.2.5) sprockets (2.4.3, 2.1.3) sqlite3 (1.3.6) thor (0.15.3) tilt (1.3.3) treetop (1.4.10) tzinfo (0.3.33) yajl-ruby (1.1.0) cat /etc/debian_version 7.8 * Checking whether this Passenger install is in PATH... ✓ * Checking whether there are no other Passenger installations... ✓ * Checking whether Apache is installed... Use of uninitialized value $includedir in concatenation (.) or string at (eval 9) line 1. Use of uninitialized value $includedir in concatenation (.) or string at (eval 9) line 1. ✓ * Checking whether the Passenger module is correctly configured in Apache... ✓ Everything looks good. :-) drwxrwxr-x 17 www-data www-data 4,0K déc. 14 21:37 redmine drwxrwxrwx 8 gweb psacln 4,0K déc. 14 21:41 public