Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Linux  >  Thread
   
 
Apache & fcgid problems
 
Gleis
Posted: 01 June 2009 09:30 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  3
Joined  2009-06-01

Hallo !

I’ve been trying to install Tracks in combination with Apache2 for several hours now and decided to aquire some help from the forum:

This is my vHost:

<VirtualHost [::]:443>

        
ServerName gtd.ipv6.myhost.de
        DocumentRoot 
/var/gtd/tracks/public

        
ServerSignature On
        LogLevel warn
        ErrorLog 
/var/log/apache2/error.log
        CustomLog 
/var/log/apache2/access.log combined

        AddHandler fcgid
-script .fcgi
        DefaultInitEnv RAILS_ENV production

        
<Files *.fcgi>
                
SetHandler fcgid-script
                Options ExecCGI 
+FollowSymLinks
        
</Files>
 

        <
Directory /var/gtd/tracks/public>
                
RewriteEngine on
                RewriteCond 
%{REQUEST_FILENAME} !-f
                RewriteRule 
^/(.*) dispatch.fcgi [QSA,L]
        
</Directory>

</
VirtualHost> 

And this is the error I get in /var/log/apache2/error.log:

http://pastebin.com/f79913abe

All files in

/var/gtd/tracks/db

are writeable for www-data.

Thanks for your help.

I am new to Ruby & Rails.

Regards

Gleis

Profile
 
Reinier Balt
Posted: 02 June 2009 08:14 AM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

the error is “SQLite3::SQLException: attempt to write a readonly database”

so somehow apache cannot write to the .db file. Are you sure the apache user is able to write to the .db file?

Profile
 
Gleis
Posted: 02 June 2009 09:59 AM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  3
Joined  2009-06-01

I restared the machine and now it works out of the blue. Whatever was wrong with it.

I will see how long it works ....

Gleis

Profile
 
Gleis
Posted: 02 June 2009 10:05 AM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  3
Joined  2009-06-01

While using it I discovered, that Firefox sometimes wants to download a “BIN-file”. I assume that there is something wrong with the MIME types.

Does anyone know, how to fix this ?

Profile
 
   
 
 
‹‹ Ubuntu 9.04 install failure on rake db:migrate RAILS_ENV=production, help please      Where is my CSS ??? !! ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1004 seconds

Atom Feed
RSS 2.0