Автор Тема: redmine apache You don't have permission to access /redmine on this server.  (Прочитано 2800 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн bboymig

  • Пользователь
  • *
  • Topic Author
  • Сообщений: 11
Добрый день. Помогите разобраться с правами доступа. Какие права должны быть на папках?
Сам сайт лежит в папке /opt/redmine/current/public
При установке сделал так:

Цитировать
cd /opt/
mkdir redmine
chmod 775 -R redmine

cd redmine/
svn co http://svn.redmine.org/redmine/branches/3.3-stable/ current
cd current/

mkdir -p tmp tmp/pdf public/plugin_assets repos/svn repos/git
chmod -R 775 files log tmp public/plugin_assets repos/svn repos/git
chown -R www-data files log tmp public/plugin_assets repos/svn repos/git
chown www-data:www-data Gemfile.lock

Цитировать
nano /etc/apache2/conf-available/passenger.conf
LoadModule passenger_module /var/lib/gems/2.1.0/gems/passenger-5.0.30/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
 PassengerRoot /var/lib/gems/2.1.0/gems/passenger-5.0.30
 PassengerDefaultRuby /usr/bin/ruby2.1
</IfModule>

nano /etc/apache2/apache2.conf
Include /etc/apache2/conf-available/passenger.conf

Цитировать
ln -s /opt/redmine/current/public/ /var/www/redmine


Цитировать
nano /etc/apache2/sites-available/redmine.conf
<VirtualHost *:80>
    ServerName mon
    ServerAdmin support@redmine.local
    DocumentRoot var/www/redmine
    Options Indexes ExecCGI FollowSymLinks

    <Directory 'var/www/redmine'>
        AllowOverride all
        Allow From All
        Options -MultiViews
    </Directory>

   </VirtualHost>

Цитировать
a2ensite redmine.conf
a2dissite 000-default.conf
service apache2 restart

Так все работает:
Цитировать
cd /opt/redmine/current/bin/
ruby rails server webrick -e production

localhost:3000

Так нет:
http://192.168.5.24/redmine или http://192.168.5.24

Выдает ошибку доступа:
Цитировать
Forbidden
You don't have permission to access /redmine on this server.

Спасибо.
« Последнее редактирование: 26 Сентябрь 2016, 11:55:37 от bboymig »
 

Оффлайн endru

  • Главный модератор
  • Ветеран
  • *****
  • Сообщений: 1818
  • Новосибирск
  • Jabber: endru@jabber.ru
Re: redmine apache You don't have permission to access /redmine on this server.
« Ответ #1 : 26 Сентябрь 2016, 10:58:10 »
А логи что говорят? к какому ресурсу идет запрос?
« Последнее редактирование: 27 Сентябрь 2016, 07:40:45 от endru »
 

Оффлайн bboymig

  • Пользователь
  • *
  • Topic Author
  • Сообщений: 11
Re: redmine apache You don\\\'t have permission to access /redmine on this server.
« Ответ #2 : 26 Сентябрь 2016, 11:50:37 »
Spoiler: ShowHide
[Mon Sep 26 07:35:08.001776 2016] [mpm_prefork:notice] [pid 1127] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Mon Sep 26 07:35:08.001855 2016] [core:notice] [pid 1127] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 08:49:40.005758 2016] [mpm_prefork:notice] [pid 1127] AH00171: Graceful restart requested, doing restart
[Mon Sep 26 08:49:40.726787 2016] [mpm_prefork:notice] [pid 1127] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Mon Sep 26 08:49:40.726831 2016] [core:notice] [pid 1127] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 08:49:42.650239 2016] [mpm_prefork:notice] [pid 1127] AH00169: caught SIGTERM, shutting down
[ 2016-09-26 08:49:44.1937 5858/b73ea700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '5853', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 08:49:44.3280 5861/b7428700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.5853/generation-0/request
[ 2016-09-26 08:49:45.0257 5867/b6ad0980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.5853/generation-0/logging
[ 2016-09-26 08:49:45.0264 5858/b73ea700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[ 2016-09-26 08:49:45.0899 5882/b7403700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '5879', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 08:49:45.1459 5885/b73b5700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.5879/generation-0/request
[ 2016-09-26 08:49:45.1672 5890/b6b30980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.5879/generation-0/logging
[ 2016-09-26 08:49:45.1675 5882/b7403700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Mon Sep 26 08:49:45.210670 2016] [mpm_prefork:notice] [pid 5879] AH00163: Apache/2.4.10 (Debian) Phusion_Passenger/4.0.53 configured -- resuming normal operations
[Mon Sep 26 08:49:45.210784 2016] [core:notice] [pid 5879] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 09:07:25.090864 2016] [mpm_prefork:notice] [pid 5879] AH00169: caught SIGTERM, shutting down
[ 2016-09-26 09:07:26.3509 18069/b7448700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '18068', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 09:07:26.3611 18072/b73ae700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.18068/generation-0/request
[ 2016-09-26 09:07:26.3799 18077/b6aee980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.18068/generation-0/logging
[ 2016-09-26 09:07:26.3802 18069/b7448700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[ 2016-09-26 09:07:26.4681 18092/b7486700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '18089', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 09:07:26.4791 18095/b737d700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.18089/generation-0/request
[ 2016-09-26 09:07:26.4979 18100/b6aa9980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.18089/generation-0/logging
[ 2016-09-26 09:07:26.4982 18092/b7486700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Mon Sep 26 09:07:26.535724 2016] [mpm_prefork:notice] [pid 18089] AH00163: Apache/2.4.10 (Debian) SVN/1.8.10 Phusion_Passenger/4.0.53 configured -- resuming normal operations
[Mon Sep 26 09:07:26.535838 2016] [core:notice] [pid 18089] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 09:07:28.409895 2016] [mpm_prefork:notice] [pid 18089] AH00169: caught SIGTERM, shutting down
[ 2016-09-26 09:07:29.6489 18212/b73fb700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '18211', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 09:07:29.6593 18215/b73d0700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.18211/generation-0/request
[ 2016-09-26 09:07:29.6780 18220/b6abd980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.18211/generation-0/logging
[ 2016-09-26 09:07:29.6782 18212/b73fb700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[ 2016-09-26 09:07:29.7886 18235/b73a4700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '18232', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 09:07:29.7989 18238/b741a700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.18232/generation-0/request
[ 2016-09-26 09:07:29.8199 18244/b6b07980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.18232/generation-0/logging
[ 2016-09-26 09:07:29.8202 18235/b73a4700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Mon Sep 26 09:07:29.858241 2016] [mpm_prefork:notice] [pid 18232] AH00163: Apache/2.4.10 (Debian) SVN/1.8.10 Phusion_Passenger/4.0.53 configured -- resuming normal operations
[Mon Sep 26 09:07:29.858342 2016] [core:notice] [pid 18232] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 09:34:55.511097 2016] [mpm_prefork:notice] [pid 18232] AH00169: caught SIGTERM, shutting down
[ 2016-09-26 09:34:56.8339 4791/b7423700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '4790', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 09:34:56.8513 4794/b743e700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.4790/generation-0/request
[ 2016-09-26 09:34:56.9102 4799/b6aac980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.4790/generation-0/logging
[ 2016-09-26 09:34:56.9105 4791/b7423700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[ 2016-09-26 09:34:57.0353 4814/b73eb700 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', '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.53', 'web_server_pid' => '4811', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2016-09-26 09:34:57.0714 4817/b7420700 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.4811/generation-0/request
[ 2016-09-26 09:34:57.0950 4822/b6ae7980 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.4811/generation-0/logging
[ 2016-09-26 09:34:57.0953 4814/b73eb700 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Mon Sep 26 09:34:57.132946 2016] [mpm_prefork:notice] [pid 4811] AH00163: Apache/2.4.10 (Debian) SVN/1.8.10 Phusion_Passenger/4.0.53 OpenSSL/1.0.1t configured -- resuming normal operations
[Mon Sep 26 09:34:57.133064 2016] [core:notice] [pid 4811] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 09:37:44.515658 2016] [mpm_prefork:notice] [pid 4811] AH00169: caught SIGTERM, shutting down
[Mon Sep 26 09:37:45.819756 2016] [passenger:error] [pid 5485] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/var/lib/gems/2.1.0/gems/passenger-5.0.30/buildout/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable. To learn how to fix 'PassengerRoot', please read https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#PassengerRoot
[Mon Sep 26 09:37:45.902073 2016] [so:warn] [pid 5485] AH01574: module passenger_module is already loaded, skipping
[Mon Sep 26 09:37:45.915920 2016] [passenger:error] [pid 5490] *** Passenger could not be initialized because of this error: Unable to start the Phusion Passenger watchdog because its executable (/var/lib/gems/2.1.0/gems/passenger-5.0.30/buildout/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'PassengerRoot' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'PassengerRoot' directive, whichever is applicable. To learn how to fix 'PassengerRoot', please read https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#PassengerRoot
[Mon Sep 26 09:37:45.951471 2016] [mpm_prefork:notice] [pid 5490] AH00163: Apache/2.4.10 (Debian) SVN/1.8.10 Phusion_Passenger/4.0.53 OpenSSL/1.0.1t configured -- resuming normal operations
[Mon Sep 26 09:37:45.951533 2016] [core:notice] [pid 5490] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 09:43:36.214665 2016] [authz_core:error] [pid 5499] [client 192.168.5.33:53008] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:43:38.076553 2016] [authz_core:error] [pid 5499] [client 192.168.5.33:53008] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:43:40.345277 2016] [authz_core:error] [pid 5499] [client 192.168.5.33:53008] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:43:41.544614 2016] [authz_core:error] [pid 5499] [client 192.168.5.33:53008] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:43:42.647994 2016] [authz_core:error] [pid 5499] [client 192.168.5.33:53008] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:43:43.854318 2016] [authz_core:error] [pid 5499] [client 192.168.5.33:53008] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:45:17.973029 2016] [authz_core:error] [pid 5506] [client 192.168.5.33:53041] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:45:18.905459 2016] [authz_core:error] [pid 5506] [client 192.168.5.33:53041] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:45:19.805986 2016] [authz_core:error] [pid 5506] [client 192.168.5.33:53041] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:45:20.737410 2016] [authz_core:error] [pid 5506] [client 192.168.5.33:53041] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:46:19.482793 2016] [authz_core:error] [pid 5497] [client 192.168.5.33:53113] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:46:20.582131 2016] [authz_core:error] [pid 5497] [client 192.168.5.33:53113] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:47:51.828479 2016] [authz_core:error] [pid 5496] [client 192.168.5.33:53185] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:47:52.850811 2016] [authz_core:error] [pid 5496] [client 192.168.5.33:53185] AH01630: client denied by server configuration: /opt/redmine/current/public/redmine
[Mon Sep 26 09:51:35.009087 2016] [mpm_prefork:notice] [pid 5490] AH00169: caught SIGTERM, shutting down


Spoiler: ShowHide
[ 2016-09-26 13:01:53.1909 1268/b6ac5b40 age/Ust/UstRouterMain.cpp:422 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ 2016-09-26 13:01:53.1910 1268/b6b8b740 age/Ust/UstRouterMain.cpp:492 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ 2016-09-26 13:01:53.1910 1268/b6ac5b40 Ser/Server.h:464 ]: [UstRouter] Shutdown finished
[ 2016-09-26 13:01:53.1911 1268/b5effb40 Ser/Server.h:817 ]: [UstRouterApiServer] Freed 0 spare client objects
[ 2016-09-26 13:01:53.1912 1268/b5effb40 Ser/Server.h:464 ]: [UstRouterApiServer] Shutdown finished
[ 2016-09-26 13:01:53.1912 1248/b4dfab40 Ser/Server.h:817 ]: [ApiServer] Freed 0 spare client objects
[ 2016-09-26 13:01:53.1913 1248/b4dfab40 Ser/Server.h:464 ]: [ApiServer] Shutdown finished
[Mon Sep 26 13:01:53.289980 2016] [so:warn] [pid 1170] AH01574: module passenger_module is already loaded, skipping
[ 2016-09-26 13:01:53.5444 1268/b6b8b740 age/Ust/UstRouterMain.cpp:523 ]: Passenger UstRouter shutdown finished
[ 2016-09-26 13:01:54.2494 1248/b6b4a740 age/Cor/CoreMain.cpp:967 ]: Passenger core shutdown finished
[ 2016-09-26 13:01:56.9466 1352/b6b4a740 age/Wat/WatchdogMain.cpp:1291 ]: Starting Passenger watchdog...
[ 2016-09-26 13:01:56.9655 1355/b6b3b740 age/Cor/CoreMain.cpp:982 ]: Starting Passenger core...
[ 2016-09-26 13:01:56.9658 1355/b6b3b740 age/Cor/CoreMain.cpp:235 ]: Passenger core running in multi-application mode.
[ 2016-09-26 13:01:56.9686 1355/b6b3b740 age/Cor/CoreMain.cpp:732 ]: Passenger core online, PID 1355
[ 2016-09-26 13:01:56.9886 1362/b6b55740 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter...
[ 2016-09-26 13:01:56.9900 1362/b6b55740 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 1362
[Mon Sep 26 13:01:56.994856 2016] [mpm_prefork:notice] [pid 1289] AH00163: Apache/2.4.10 (Debian) SVN/1.8.10 OpenSSL/1.0.1t Phusion_Passenger/5.0.30 configured -- resuming normal operations
[Mon Sep 26 13:01:56.994933 2016] [core:notice] [pid 1289] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 26 13:04:14.036984 2016] [authz_core:error] [pid 1378] [client 192.168.5.33:62176] AH01630: client denied by server configuration: /etc/apache2/var
[Mon Sep 26 13:04:15.050122 2016] [authz_core:error] [pid 1378] [client 192.168.5.33:62176] AH01630: client denied by server configuration: /etc/apache2/var
[Mon Sep 26 13:04:25.859403 2016] [authz_core:error] [pid 1379] [client 192.168.5.33:62182] AH01630: client denied by server configuration: /etc/apache2/var
[Mon Sep 26 13:04:26.524725 2016] [authz_core:error] [pid 1379] [client 192.168.5.33:62182] AH01630: client denied by server configuration: /etc/apache2/var
[Mon Sep 26 13:05:53.403685 2016] [authz_core:error] [pid 2203] [client 192.168.5.33:62191] AH01630: client denied by server configuration: /etc/apache2/var



Cообщение объединено 26 Сентябрь 2016, 12:45:02
Я так понял проблема в правильной настрой

Cообщение объединено 26 Сентябрь 2016, 12:52:17
Я так понял проблема в правильной настройке redmine.conf

Переделал так:
<VirtualHost *:80>
  ServerName uio
  ServerAlias uio
  DocumentRoot /opt/redmine/current/public
  PassengerDefaultUser www-data

  <Directory /opt/redmine/current/public>
    Order allow,deny
    Allow from all
    RailsEnv production
  </Directory>
</VirtualHost>

Apache2 Debian Default Page и Zabbix открывает, а вот Redmine нет.

« Последнее редактирование: 27 Сентябрь 2016, 05:20:28 от endru »
 


Оффлайн endru

  • Главный модератор
  • Ветеран
  • *****
  • Сообщений: 1818
  • Новосибирск
  • Jabber: endru@jabber.ru
Re: redmine apache You don't have permission to access /redmine on this server.
« Ответ #3 : 27 Сентябрь 2016, 05:24:26 »
Почему нельзя просто посмотреть мануалы как правильно делать конфиг апача?

Теги: