{"thread":{"id":"30453","subject":"A small change to the gitweb documentation","startedAt":"2012-05-06T23:59:10Z","lastAt":"2012-05-06T23:59:10Z","messageCount":1,"participants":["Roy Liu"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"190951","messageId":"CAOZa66yEnrC1bMVVLCzGJgqqWryg1Kt0AnP54YftASudG5zt7w@mail.gmail.com","threadId":"30453","inReplyTo":null,"subject":"A small change to the gitweb documentation","fromName":"Roy Liu","fromEmail":"roy@eschatonlabs.com","sentAt":"2012-05-06T23:59:10Z","receivedAt":"2012-05-06T23:59:10Z","isPatch":false,"sender":{"key":"roy@eschatonlabs.com","avatar":null},"body":"Hi,\n\nWhen reading the Apache server mod_rewrite documentation, I noticed\nthat it had this to say about the \"PT\" (passthrough) option:\n\nThe PT flag implies the L flag: rewriting will be stopped in order to\npass the request to the next phase of processing.\n\nCurrent, the gitweb documentation has a mod_rewrite example that uses\nthe option \"[L,PT]\".  Since the \"L\" is probably redundant, I propose\nthe following patch:\n\nRegards,\nRoy\n\ndiff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt\nindex 168e8bf..eb16bbd 100644\n--- a/Documentation/gitweb.txt\n+++ b/Documentation/gitweb.txt\n@@ -633,7 +633,7 @@ complementary static files (stylesheet, favicon,\nJavaScript):\n        RewriteEngine On\n        RewriteCond %{REQUEST_FILENAME} !-f\n        RewriteCond %{REQUEST_FILENAME} !-d\n-       RewriteRule ^.* /gitweb.cgi/$0 [L,PT]\n+       RewriteRule ^.* /gitweb.cgi/$0 [PT]\n    </Directory>\n </VirtualHost>\n ----------------------------------------------------------------------------\n@@ -664,7 +664,7 @@ named *without* a .git extension (e.g.\n'/pub/git/project' instead of\n        RewriteEngine On\n        RewriteCond %{REQUEST_FILENAME} !-f\n        RewriteCond %{REQUEST_FILENAME} !-d\n-       RewriteRule ^.* /gitweb.cgi/$0 [L,PT]\n+       RewriteRule ^.* /gitweb.cgi/$0 [PT]\n    </Directory>\n </VirtualHost>\n ----------------------------------------------------------------------------\n"}]}