Project

General

Profile

../dispatch.fcgi was not found ...

Added by Den Iskandarov over 11 years ago

Hello
I'm new to redmine and whole ruby stuff.
Have tried to google answer for my problem but no luck.

So what do I have:
CentOS 6.3 i386
Httpd 2.2.15
PHP 5.3.3
Redmine 2.0.3
ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-linux]
gem -v 1.3.7
gem fcgi 0.8.8
(installed ruby, gems, passenger, mod_fastcgi, fcgi via yum)
Everything works fine via WEBrick
Now i'm trying to do simple setup with Apache + FastCGI without Virtualhost simple alias suburl http://192.168.0.x/redmine

Here is my redmine.conf

Alias /redmine /var/www/redmine/public

#If you are using mod_fcgid and are going to upload files larger than
#131072 bytes you should consider adding the following line
#that allows to upload files up to 20 mb
#MaxRequestLen 20971520

<Directory /var/www/redmine/public/>
#    Options Indexes ExecCGI FollowSymLinks
    Order deny,allow
    Deny from all
    Allow from 192.168
    AllowOverride all
</Directory>

Getting in browser this error:
Not Found
The requested URL /var/www/redmine/public/dispatch.fcgi was not found on this server.

But it is there (dispatch.fcgi and .htaccess)

Httpd error_log:
[notice] caught SIGTERM, shutting down
[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done
[notice] FastCGI: process manager initialized (pid 2332)
[notice] Apache/2.2.15 (Unix) DAV/2 mod_fastcgi/2.4.6 Phusion_Passenger/3.0.12 PHP/5.3.3 configured -- resuming normal operations
[error] [client 192.168.0.11] File does not exist: /var/www/html/var
[error] [client 192.168.0.11] File does not exist: /var/www/html/favicon.ico

I don't understand where to fix this path /var/www/html/var, from where it comes.
Commented fcgid field in public/.htaccess
Have tried to follow this tutorial http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI
Nothing works(
Please help


Replies (1)

RE: ../dispatch.fcgi was not found ... - Added by Den Iskandarov over 11 years ago

Sorry, my fault.
I didn't carefully read all comments in .htaccess
Solution RewriteBase...

    (1-1/1)