Ok,
I’m now trying to get Metadot working on OpenSuSE 11.2, I have installed the
following :
apache, mysql, ruby, rails.
I have followed the instructions on the metadot site for configureing
metadot, which seems to work if I use the ‘rails scripts/server’ to start
the single threaded rails server, I can connect to it and view pages etc.
However when I try running with apache instead of running the ruby script,
it is opened in the browser window e.g. :
#!/usr/bin/ruby
You may specify the path to the FastCGI crash log (a log of unhandled
exceptions which forced the FastCGI instance to exit, great for debugging)
and the number of requests to process before running garbage collection.
Obviously this is not what I want.
I have metadot installed in : /home/metadot/metadot-rails and have a vhosts
file setup to point to it :
<IfDefine SSL>
<IfDefine !NOSSL>
<VirtualHost default:443>
General setup for the virtual host
DocumentRoot “/home/metadot/metadot-rails/public”
#ServerName www.example.com:443
#ServerAdmin webmaster@example.com
ErrorLog /var/log/apache2/ssl_error_log
TransferLog /var/log/apache2/ssl_access_log
Loads of SSL stuff removed from this post, it’s in the actual vhost file
<Files ~ “.(cgi|shtml|phtml|php3?)$”>
SSLOptions +StdEnvVars
</Files>
<Directory “/srv/www/cgi-bin”>
SSLOptions +StdEnvVars
</Directory>
Per-Server Logging:
The home of a custom SSL log file. Use this when you want a
compact non-error SSL logfile on a virtual host basis.
CustomLog /var/log/apache2/ssl_request_log ssl_combined
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
<Directory “/home/metadot/metadot-rails/public”>
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^(^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
ErrorDocument 500 “<h2>Application error</h2>Rails application
failed to start properly”
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
</Directory>
Alias /icons/ “/usr/share/apache2/icons/”
<Directory “/usr/share/apache2/icons”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html index.html.var index.pl
</VirtualHost>
</IfDefine>
</IfDefine>
Any idea what the problem might be ?
Cheers.
Phill.