{"id":192,"date":"2003-02-16T06:22:21-05:00","date_gmt":"2003-02-16T14:22:21+00:00","guid":{"rendered":"http:\/\/peterjanes.ca\/wordpress\/?p=192"},"modified":"2003-02-16T06:22:21-05:00","modified_gmt":"2003-02-16T14:22:21+00:00","slug":"apache-woes","status":"publish","type":"post","link":"https:\/\/peterjanes.ca\/blog\/2003\/02\/16\/apache-woes\/","title":{"rendered":"Apache&nbsp;woes"},"content":{"rendered":"<div class='e-content'><p><a href=\"http:\/\/nagoya.apache.org\/bugzilla\/show_bug.cgi?id=8493\">Aaaauuuugggghhhhhhh!<\/a><\/p>\n\n<p><del datetime=\"2003-02-16T22:09:00\"><a href=\"http:\/\/nagoya.apache.org\/bugzilla\/show_bug.cgi?id=10108\">Double aaaauuuugggghhhhhhh!<\/a><\/del> <ins datetime=\"2003-02-16T22:09:00\">Upon further reading and experimentation, I&#8217;ve determined that while it&#8217;s annoying, this isn&#8217;t the same bug; it&#8217;s something to do with <cite>mod_mime_magic<\/cite> and extensionless files.  The <code>application\/xhtml+xml<\/code> rule actually does work under Apache 2.0 for files named with a <code>.html<\/code> extension.<\/ins><\/p>\n\n<p>Today&#8217;s lesson: never upgrade.<\/p>\n\n<p><ins datetime=\"2003-02-25T22:37:00\">I&#8217;ve been fighting with <code>mod_rewrite<\/code> to see if I can convince it to behave the same way as <code>mod_dir<\/code>, and it&#8217;s been almost completely unsuccessful.  Things work for a single directory but not in general, and I have no clue why.  And to top it all off, there&#8217;s <a href=\"http:\/\/nagoya.apache.org\/bugzilla\/show_bug.cgi?id=15112\">a fix<\/a> that&#8217;s been available for <em>over two months<\/em>, but has never applied to the CVS tree, or even mentioned on <a href=\"http:\/\/marc.theaimsgroup.com\/?l=apache-httpd-dev\">apache-httpd-dev<\/a>.  I may yet wind up building my own version.<\/ins><\/p>\n\n<p><ins datetime=\"2003-02-25T22:44:00\">Oh yeah, the thing that does work, per-directory:<br \/><code>RewriteBase \/my\/directory\/<br \/>RewriteRule ^$ index.html [N]<\/code><\/ins><\/p><\/div><div class=\"syndication-links\"><\/div>","protected":false},"excerpt":{"rendered":"Aaaauuuugggghhhhhhh! Double aaaauuuugggghhhhhhh! Upon further reading and experimentation, I&#8217;ve determined that while it&#8217;s annoying, this isn&#8217;t the same bug; it&#8217;s something to do with mod_mime_magic and extensionless files. The application\/xhtml+xml rule actually does work under Apache 2.0 for files named with a .html extension. Today&#8217;s lesson: never upgrade. I&#8217;ve been fighting with mod_rewrite to see&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"venue_id":0},"categories":[3],"tags":[],"kind":false,"_links":{"self":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts\/192"}],"collection":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/comments?post=192"}],"version-history":[{"count":0,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/posts\/192\/revisions"}],"wp:attachment":[{"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/media?parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/categories?post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peterjanes.ca\/blog\/wp-json\/wp\/v2\/tags?post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}