{"comment":{"created_at":"2011-10-21T16:06:34Z","body":"i have no idea what's causing this yet but i finally just experienced it on a site i've got in development (.htaccess getting rewritten over and over and over with the h5bp rules.. mine had just under 6,000 lines vs the ~325 that it should be)\r\n\r\nafter deleting the .htaccess file, saving the permalinks settings in admin, then hitting the site again everything has been fine (so far).\r\n\r\nthis weekend i'll see about finally implementing a different way of doing the rules.","updated_at":"2011-10-21T16:06:34Z","url":"https://api.github.com/repos/retlehs/roots/issues/comments/2483041","id":2483041,"user":{"gravatar_id":"218af8b993de870341b4354f609013b8","avatar_url":"https://secure.gravatar.com/avatar/218af8b993de870341b4354f609013b8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/retlehs","id":115911,"login":"retlehs"}},"action":"created","issue":{"number":120,"created_at":"2011-08-16T01:10:25Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I've been using this theme to design and deploy sites for about 4 months and I love it. But recently I've been running into the following problem. Has anyone else had this problem.\r\n\r\nMy environment:\r\n- WP 3.2.1\r\n- Live server: hosted with Hostmonster.com\r\n- Roots theme version: 3.6.0\r\n- Other plugins: A couple plugins I've written for Custom Post Types, Custom Meta Boxes, & Custom Taxonomies. (no rewrite rules, filters, or remove actions being used.), & plugin to change from email address (uses filter for wp_mail_from & wp_mail_from_name).\r\n\r\nDescription:\r\nI install & activate the theme and it loads fine. After I've been customizing it, making changes to template files, function.php, and/or editing plugin files... I'll get a 500 server error. When I check my error logs on the server I see rewrite rules errors. So I check my htaccess file. This is when I see that it was rewritten, and the code is either jumbled thereby causing an error, or it has appended or prepended additional code that causes errors. Here's the latest code that was added to the end of the htaccess file. \r\n\r\nThis code was added after the # END Wordpress\r\n------ Code Starts Here ---------\r\nue error_prepend_string \" \"\r\n\r\n/# Don't prepend to error (doesn't accept empty string, use whitespace if you need)\r\n/# php_value error_append_string \" \"\r\n\r\n/# Increase cookie security\r\n<IfModule php5_module>\r\n  php_value session.cookie_httponly true\r\n</IfModule>\r\n/# END WordPress\r\n------- Code Ends Here ---------\r\n\r\nNote: After I removed these lines, the site came back up.\r\nThis keeps happening, sometimes every few hours, sometimes every few days.\r\nAny suggestions would be greatly appreciated.\r\n\r\nMark.\r\n","comments":34,"title":"htaccess causing, 500 server error","updated_at":"2011-10-21T16:06:34Z","url":"https://api.github.com/repos/retlehs/roots/issues/120","id":1411897,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"3a6781483ba9a0be428f005f3db8cdcb","avatar_url":"https://secure.gravatar.com/avatar/3a6781483ba9a0be428f005f3db8cdcb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/nuresponse","id":981804,"login":"nuresponse"},"html_url":"https://github.com/retlehs/roots/issues/120","labels":[],"state":"open"},"legacy":{"issue_id":1411897,"comment_id":2483041}}