Hello all, When I switch to the fast cgi dispatcher in .htaccess my css files are no longer accessible. If I switch back to cgi then there are no problems (it''s just slow). I''m using Apache on Windows XP. Thanks in advance, Scott _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Check out your rewrite rules. It may not be only the css also images may not be accessible. Also when deploying, make sure your static content does not go through the dispatcher, it''d be an overkill. Your web server logs would give some hint On 12.Eki.2005, at 22:41, Scott Caldwell wrote:> Hello all, > > When I switch to the fast cgi dispatcher in .htaccess my css files > are no longer accessible. If I switch back to cgi then there are no > problems (it''s just slow). > > I''m using Apache on Windows XP. > > Thanks in advance, > > Scott > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
And by no longer accessible, what do you mean? Can you retrieve them with http://blah/stylesheets/style.css ? If yes, make sur the MIME type is right. Oyku Gencay wrote:> Check out your rewrite rules. It may not be only the css also images > may not be accessible. Also when deploying, make sure your static > content does not go through the dispatcher, it''d be an overkill. Your > web server logs would give some hint > > > On 12.Eki.2005, at 22:41, Scott Caldwell wrote: > >> Hello all, >> >> When I switch to the fast cgi dispatcher in .htaccess my css files >> are no longer accessible. If I switch back to cgi then there are no >> problems (it''s just slow). >> >> I''m using Apache on Windows XP. >> >> Thanks in advance, >> >> Scott >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org <mailto:Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > >------------------------------------------------------------------------ > >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > >