> Please provide server config (apache, lighttpd...), the
> RAILS_RELATIVE_URL_ROOT might be wrong.
Here's the apache configuration:
<VirtualHost *:443>
ServerName <server>
SSLEngine on
SSLOptions +StrictRequire
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
SSLCertificateFile /etc/apache2/ssl/<server>.pem
SSLCertificateKeyFile /etc/apache2/ssl/<server>.pem
SSLVerifyClient none
SSLProxyEngine off
# DefaultInitEnv for module mod_fcgid
DefaultInitEnv RAILS_RELATIVE_URL_ROOT ""
DefaultInitEnv X_DEBIAN_SITEID "default"
# the mod_fcgid socket path
SocketPath "/var/run/redmine/sockets/default"
DocumentRoot /usr/share/redmine/public
<Directory "/usr/share/redmine/public">
Options +FollowSymLinks +ExecCGI
Order allow,deny
Allow from all
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} dispatch.fcgi$
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
</Directory>
</VirtualHost>
It's basically a copy of apache2-host.conf in the examples directory.
What's strange is that the rest of redmine seems to work correctly.
I also tried to upload an attachment in the documents module, but I was unable
to activate such module in one of our projects. After clicking save on the list
of modules in project settings, the web page says "Invalid form authenticity
token.", and here's what the log says:
Processing ProjectsController#modules (for <IP> at 2010-02-11
15:11:52) [POST]
Parameters: {"enabled_modules"=>["issue_tracking", "documents",
"wiki", "repository"], "commit"=>"Save", "action"=>"modules",
"authenticity_token"=>"a764b0779c4615fc7f728a6bedde1cc9e64c9e4d",
"id"=>"tools", "controller"=>"projects"}
Rendering template within layouts/base
Any ideas?
Thanks,
Lluis
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]