Tylerdurden
New Pleskian
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
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
Code:
<VirtualHost 151.80.36.112:80 >
ServerName "redmine.domaine.fr:80"
ServerAlias "www.redmine.domaine.fr"
ServerAlias "ipv4.redmine.domaine.fr"
ServerAdmin "[email protected]"
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>