This seems like a weird one to me... I have created a homegrown BBS/group weblog app in Rails. I''m on Textdrive with lighttpd and FastCGI. I have a user who keeps getting "412 Precondition Failed" errors when posting. Upon investigation, it seems that anytime a user tries to post anything with "poker," "gambling," or "casino" in it, this error happens. I''ve tried tailing the production logs as well as the lighttpd.*.log files, and don''t even see a hit when this is posted. I noticed after Googling this, that Typo has a similar bug filed against it (http://typo.leetsoft.com/trac.cgi/ticket/118), but my app isn''t based on Typo. Any ideas? --Scott
On 6/14/05, Scott Hill <stmpjmpr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> This seems like a weird one to me...You''re hitting mod_security http://weblog.textdrive.com/article/89/the-centrality-of-security File a ticket and see if they can help?> I have created a homegrown BBS/group weblog app in Rails. I''m on > Textdrive with lighttpd and FastCGI. I have a user who keeps getting > "412 Precondition Failed" errors when posting. Upon investigation, it > seems that anytime a user tries to post anything with "poker," > "gambling," or "casino" in it, this error happens. I''ve tried tailing > the production logs as well as the lighttpd.*.log files, and don''t > even see a hit when this is posted. > > I noticed after Googling this, that Typo has a similar bug filed > against it (http://typo.leetsoft.com/trac.cgi/ticket/118), but my app > isn''t based on Typo. > > Any ideas? > > --Scott > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Cheers Koz
Ah! That makes sense. Ticket filed...thanks much. --Scott On 6/13/05, Michael Koziarski <koziarski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 6/14/05, Scott Hill <stmpjmpr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > This seems like a weird one to me... > > You''re hitting mod_security > > http://weblog.textdrive.com/article/89/the-centrality-of-security > > File a ticket and see if they can help? > > > I have created a homegrown BBS/group weblog app in Rails. I''m on > > Textdrive with lighttpd and FastCGI. I have a user who keeps getting > > "412 Precondition Failed" errors when posting. Upon investigation, it > > seems that anytime a user tries to post anything with "poker," > > "gambling," or "casino" in it, this error happens. I''ve tried tailing > > the production logs as well as the lighttpd.*.log files, and don''t > > even see a hit when this is posted. > > > > I noticed after Googling this, that Typo has a similar bug filed > > against it (http://typo.leetsoft.com/trac.cgi/ticket/118), but my app > > isn''t based on Typo. > > > > Any ideas? > > > > --Scott > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > -- > Cheers > > Koz >-- --Scott