zdravim.. tak bych potreboval po dlouhem snazeni zas trochu postrcit...
nastavuji na stroji redmine ktery potrebuje pro beh ruby on rails...
postupuju konfiguraci pro apache ktera je poprasana na teto adrese
http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Apache_to_run_Redmine
dostal jsem se asi do pulky kde je krok ...
-------------------------------------
Create or edit /etc/httpd/conf.d/mod_fastcgi.conf
LoadModule fastcgi_module modules/mod_fastcgi.so
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
</IfModule>
The /tmp/fcgi_ipc/ directory needs to be writable to the apache user:
chown -R apache.apache /tmp/fcgi_ipc/
chmod -R 777 /tmp/fcgi_ipc/
Note: I had to do this more than once.. It created directories which it then didn't own.. ??
Download and install fcgi (for fcgi gem)
wget <a href="http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz" class="odkaz" rel="nofollow">http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz</a>
tar -zxvf fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure
make
make install
Install fcgi gem:
gem install fcgi
Configuring redmine to use fastcgi:
In your redmine/public/ directory, copy dispatch.fcgi.example to dispatch.fcgi
Note: Mine was shebanged to "#!/usr/bin/env ruby", which is fine. I found a reference or two that seemed to indicate the 'env' bit is preferable to calling ruby directly. If this doesn't work, then you'll need to change it to wherever your ruby is as above.
./public/.htaccess
----------------
ale po kroku kdy spustim ./public/.htaccess my to vypise nasledujici chybove hlasky:
./public/.htaccess: line 2: IfModule: No such file or directory
./public/.htaccess: line 3: AddHandler: command not found
./public/.htaccess: line 4: /IfModule: No such file or directory
./public/.htaccess: line 5: IfModule: No such file or directory
./public/.htaccess: line 6: AddHandler: command not found
./public/.htaccess: line 7: /IfModule: No such file or directory
./public/.htaccess: line 8: IfModule: No such file or directory
./public/.htaccess: line 9: AddHandler: command not found
./public/.htaccess: line 10: /IfModule: No such file or directory
./public/.htaccess: line 11: Options: command not found
: command not found line 12:
: command not found line 19:
./public/.htaccess: line 27: RewriteEngine: command not found
: command not found line 28:
: command not found line 35:
./public/.htaccess: line 36: RewriteRule: command not found
./public/.htaccess: line 37: syntax error near unexpected token `('
'/public/.htaccess: line 37: `RewriteRule ^([^.]+)$ $1.html [QSA]
nemohl by my prosim nekdo pomoci identifikovat co delam spatne. Dekuji