Hi there I am trying to setup my first application on the server and i keep getting the content of dispatch.fcgi after i googled it, i found that i have to have .htaccess which i had in the public folder. you can check it here http://www.bluestar.ps/tests any idea what is this problem and what is the solution
What are the contents of your .htaccess? It should probably look something like this: RewriteEngine On RewriteBase / RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] Matt On Fri, Jun 5, 2009 at 9:42 AM, Shuaib85 <shuaib.zahda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi there > I am trying to setup my first application on the server and i keep > getting the content of dispatch.fcgi > > after i googled it, i found that i have to have .htaccess which i had > in the public folder. > > you can check it here > http://www.bluestar.ps/tests > > any idea what is this problem and what is the solution > >
Thanks for the reply. I have the same configurations On Jun 5, 7:54 pm, Matt Kellogg <matthew.kell...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What are the contents of your .htaccess? > > It should probably look something like this: > > RewriteEngine On > RewriteBase / > RewriteRule ^$ index.html [QSA] > RewriteRule ^([^.]+)$ $1.html [QSA] > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > > Matt > > On Fri, Jun 5, 2009 at 9:42 AM, Shuaib85 <shuaib.za...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi there > > I am trying to setup my first application on the server and i keep > > getting the content of dispatch.fcgi > > > after i googled it, i found that i have to have .htaccess which i had > > in the public folder. > > > you can check it here > >http://www.bluestar.ps/tests > > > any idea what is this problem and what is the solution
I really recommend that you look into something like passenger: http://modrails.com for running your Rails applications, rather than mod_fcgi or the like.
Thanks for the recommendation. Unfortunately, my client wanted to host by himself and he chose this server which has no good support for rails. On Jun 12, 3:12 pm, Ryan Bigg <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I really recommend that you look into something like passenger:http://modrails.comfor running your Rails applications, rather than > mod_fcgi or the like.