Hex Artifact Content
Not logged in

Artifact 0330a84054873da2943e5236bec7eac761533a72:

Ticket change [0330a84054] - Задача [74782e5f7c] auto-discovery of a repository from a webpage статус остался Open с 1 изменением by anonymous 2010-03-19 06:48:33.
0000: 44 20 32 30 31 30 2d 30 33 2d 31 39 54 30 36 3a  D 2010-03-19T06:
0010: 34 38 3a 33 33 0a 4a 20 2b 63 6f 6d 6d 65 6e 74  48:33.J +comment
0020: 20 5c 6e 5c 6e 3c 68 72 3e 3c 69 3e 61 6e 6f 6e   \n\n<hr><i>anon
0030: 79 6d 6f 75 73 5c 73 61 64 64 65 64 5c 73 6f 6e  ymous\sadded\son
0040: 5c 73 32 30 31 30 2d 30 33 2d 31 39 5c 73 30 36  \s2010-03-19\s06
0050: 3a 34 38 3a 33 33 3a 3c 2f 69 3e 3c 62 72 3e 5c  :48:33:</i><br>\
0060: 6e 49 4d 4f 2c 5c 73 69 74 5c 73 69 73 5c 73 6e  nIMO,\sit\sis\sn
0070: 6f 74 5c 73 61 5c 73 70 72 6f 62 6c 65 6d 5c 73  ot\sa\sproblem\s
0080: 6f 66 5c 73 66 6f 73 73 69 6c 2e 5c 73 55 73 65  of\sfossil.\sUse
0090: 5c 73 52 65 77 72 69 74 65 45 6e 67 69 6e 65 5c  \sRewriteEngine\
00a0: 73 6f 72 5c 73 77 68 61 74 65 76 65 72 5c 73 65  sor\swhatever\se
00b0: 6c 73 65 2e 5c 73 49 74 5c 73 77 6f 75 6c 64 5c  lse.\sIt\swould\
00c0: 73 62 65 5c 73 65 6e 6f 75 67 68 2e 5c 73 4d 79  sbe\senough.\sMy
00d0: 5c 73 41 70 61 63 68 65 5c 73 2e 68 74 61 63 63  \sApache\s.htacc
00e0: 65 73 73 5c 73 69 73 5c 73 6c 69 6b 65 3a 5c 72  ess\sis\slike:\r
00f0: 5c 6e 3c 76 65 72 62 61 74 69 6d 3e 5c 72 5c 6e  \n<verbatim>\r\n
0100: 23 5c 73 59 6f 75 5c 73 64 6f 6e 27 74 5c 73 6e  #\sYou\sdon't\sn
0110: 65 65 64 5c 73 74 68 69 73 5c 73 70 61 72 74 3a  eed\sthis\spart:
0120: 5c 72 5c 6e 3c 46 69 6c 65 73 4d 61 74 63 68 5c  \r\n<FilesMatch\
0130: 73 22 5c 5c 2e 72 65 70 6f 24 22 3e 5c 72 5c 6e  s"\\.repo$">\r\n
0140: 5c 73 5c 73 4f 70 74 69 6f 6e 73 5c 73 2b 45 78  \s\sOptions\s+Ex
0150: 65 63 43 47 49 5c 72 5c 6e 5c 73 5c 73 41 64 64  ecCGI\r\n\s\sAdd
0160: 48 61 6e 64 6c 65 72 5c 73 63 67 69 2d 73 63 72  Handler\scgi-scr
0170: 69 70 74 5c 73 2e 72 65 70 6f 5c 72 5c 6e 5c 73  ipt\s.repo\r\n\s
0180: 5c 73 52 65 77 72 69 74 65 45 6e 67 69 6e 65 5c  \sRewriteEngine\
0190: 73 4f 66 66 5c 72 5c 6e 3c 2f 46 69 6c 65 73 4d  sOff\r\n</FilesM
01a0: 61 74 63 68 3e 5c 72 5c 6e 5c 72 5c 6e 23 5c 73  atch>\r\n\r\n#\s
01b0: 42 75 74 5c 73 79 6f 75 5c 73 6e 65 65 64 5c 73  But\syou\sneed\s
01c0: 74 68 69 73 5c 73 28 79 6f 75 5c 73 6d 69 67 68  this\s(you\smigh
01d0: 74 5c 73 77 61 6e 74 5c 73 74 6f 5c 73 72 65 70  t\swant\sto\srep
01e0: 6c 61 63 65 5c 73 66 6f 6f 2e 72 65 70 6f 5c 73  lace\sfoo.repo\s
01f0: 77 69 74 68 5c 73 2f 63 67 69 2d 62 69 6e 2f 66  with\s/cgi-bin/f
0200: 6f 6f 2e 63 67 69 29 3a 5c 72 5c 6e 52 65 77 72  oo.cgi):\r\nRewr
0210: 69 74 65 45 6e 67 69 6e 65 5c 73 4f 6e 5c 72 5c  iteEngine\sOn\r\
0220: 6e 52 65 77 72 69 74 65 43 6f 6e 64 5c 73 25 7b  nRewriteCond\s%{
0230: 48 54 54 50 5f 55 53 45 52 5f 41 47 45 4e 54 7d  HTTP_USER_AGENT}
0240: 5c 73 5e 46 6f 73 73 69 6c 2f 5c 5c 5b 5b 61 2d  \s^Fossil/\\[[a-
0250: 7a 30 2d 39 5d 7b 31 30 7d 5c 5c 5d 5c 72 5c 6e  z0-9]{10}\\]\r\n
0260: 52 65 77 72 69 74 65 52 75 6c 65 5c 73 5e 28 2e  RewriteRule\s^(.
0270: 2a 29 5c 73 2f 66 6f 6f 2e 72 65 70 6f 2f 24 31  *)\s/foo.repo/$1
0280: 5c 73 5b 4c 5d 5c 72 5c 6e 3c 2f 76 65 72 62 61  \s[L]\r\n</verba
0290: 74 69 6d 3e 5c 72 5c 6e 0a 4b 20 37 34 37 38 32  tim>\r\n.K 74782
02a0: 65 35 66 37 63 66 39 63 33 62 33 34 33 30 63 31  e5f7cf9c3b3430c1
02b0: 62 36 64 65 62 62 63 35 37 63 32 30 66 65 37 66  b6debbc57c20fe7f
02c0: 33 66 38 0a 55 20 61 6e 6f 6e 79 6d 6f 75 73 0a  3f8.U anonymous.
02d0: 5a 20 64 33 37 36 39 62 39 34 31 63 61 61 33 37  Z d3769b941caa37
02e0: 63 36 32 62 65 64 30 34 39 35 64 65 64 61 65 66  c62bed0495dedaef
02f0: 34 37 0a                                         47.