Hex Artifact Content
Not logged in

Artifact 294f0545597c9d70d2928527f251bdb90775b8d2:

Ticket change [294f054559] - New ticket [49929a3557] Support REMOTE_USER CGI variable to auto login when using fossil cgi mode. by anonymous 2010-03-28 12:24:37.
0000: 44 20 32 30 31 30 2d 30 33 2d 32 38 54 31 32 3a  D 2010-03-28T12:
0010: 32 34 3a 33 37 0a 4a 20 63 6f 6d 6d 65 6e 74 20  24:37.J comment 
0020: 57 68 65 6e 5c 73 75 73 69 6e 67 5c 73 68 74 74  When\susing\shtt
0030: 70 73 5c 73 6f 72 5c 73 6f 74 68 65 72 5c 73 61  ps\sor\sother\sa
0040: 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 5c 73 73  uthentication\ss
0050: 6f 6c 75 74 69 6f 6e 73 5c 73 73 75 63 68 5c 73  olutions\ssuch\s
0060: 61 73 5c 73 73 69 6e 67 6c 65 5c 73 73 69 67 6e  as\ssingle\ssign
0070: 6f 6e 5c 73 65 74 63 2e 2c 5c 73 74 68 65 5c 73  on\setc.,\sthe\s
0080: 77 65 62 5c 73 73 65 72 76 65 72 5c 73 70 72 6f  web\sserver\spro
0090: 76 69 64 65 73 5c 73 74 68 65 5c 73 61 75 74 68  vides\sthe\sauth
00a0: 65 6e 74 69 63 61 74 65 64 5c 73 75 73 65 72 5c  enticated\suser\
00b0: 73 6e 61 6d 65 5c 73 69 6e 5c 73 74 68 65 5c 73  sname\sin\sthe\s
00c0: 52 45 4d 4f 54 45 5f 55 53 45 52 5c 73 65 6e 76  REMOTE_USER\senv
00d0: 69 72 6f 6e 6d 65 6e 74 5c 73 76 61 72 69 61 62  ironment\svariab
00e0: 6c 65 5c 73 77 68 65 6e 5c 73 72 75 6e 6e 69 6e  le\swhen\srunnin
00f0: 67 5c 73 61 5c 73 63 67 69 5c 73 73 63 72 69 70  g\sa\scgi\sscrip
0100: 74 2e 5c 72 5c 6e 5c 72 5c 6e 49 5c 73 77 6f 75  t.\r\n\r\nI\swou
0110: 6c 64 5c 73 62 65 5c 73 72 65 61 6c 6c 79 5c 73  ld\sbe\sreally\s
0120: 6e 69 63 65 5c 73 69 66 5c 73 66 6f 73 73 69 6c  nice\sif\sfossil
0130: 5c 73 63 67 69 5c 73 63 6f 75 6c 64 5c 73 74 61  \scgi\scould\sta
0140: 6b 65 5c 73 61 64 76 61 6e 74 61 67 65 5c 73 6f  ke\sadvantage\so
0150: 66 5c 73 74 68 69 73 2e 5c 72 5c 6e 5c 72 5c 6e  f\sthis.\r\n\r\n
0160: 49 66 5c 73 52 45 4d 4f 54 45 5f 55 53 45 52 5c  If\sREMOTE_USER\
0170: 73 69 73 5c 73 73 65 74 5c 73 74 6f 5c 73 61 6e  sis\sset\sto\san
0180: 5c 73 65 78 69 73 74 69 6e 67 5c 73 66 6f 73 73  \sexisting\sfoss
0190: 69 6c 5c 73 75 73 65 72 5c 73 6e 61 6d 65 5c 73  il\suser\sname\s
01a0: 74 68 65 6e 5c 73 74 68 61 74 5c 73 75 73 65 72  then\sthat\suser
01b0: 5c 73 69 73 5c 73 61 75 74 6f 6d 61 74 69 63 61  \sis\sautomatica
01c0: 6c 6c 79 5c 73 6c 6f 67 67 65 64 5c 73 69 6e 2e  lly\slogged\sin.
01d0: 5c 72 5c 6e 49 66 5c 73 52 45 4d 4f 54 45 5f 55  \r\nIf\sREMOTE_U
01e0: 53 45 52 5c 73 69 73 5c 73 73 65 74 5c 73 74 6f  SER\sis\sset\sto
01f0: 5c 73 61 5c 73 75 73 65 72 5c 73 6e 61 6d 65 5c  \sa\suser\sname\
0200: 73 74 68 61 74 5c 73 69 73 5c 73 6e 6f 74 5c 73  sthat\sis\snot\s
0210: 70 72 65 73 65 6e 74 5c 73 69 6e 5c 73 74 68 65  present\sin\sthe
0220: 5c 73 66 6f 73 73 69 6c 5c 73 75 73 65 72 5c 73  \sfossil\suser\s
0230: 74 61 62 6c 65 2c 5c 73 74 68 65 6e 5c 73 74 68  table,\sthen\sth
0240: 65 5c 73 61 6e 6f 6e 79 6d 6f 75 73 5c 73 75 73  e\sanonymous\sus
0250: 65 72 5c 73 69 73 5c 73 61 75 74 6f 6d 61 74 69  er\sis\sautomati
0260: 63 61 6c 6c 79 5c 73 6c 6f 67 67 65 64 5c 73 69  cally\slogged\si
0270: 6e 2e 5c 72 5c 6e 5c 72 5c 6e 54 68 69 73 5c 73  n.\r\n\r\nThis\s
0280: 77 6f 75 6c 64 5c 73 62 65 5c 73 61 5c 73 72 65  would\sbe\sa\sre
0290: 61 6c 6c 79 5c 73 68 61 6e 64 79 5c 73 77 61 79  ally\shandy\sway
02a0: 5c 73 74 6f 5c 73 69 6e 74 65 67 72 61 74 65 5c  \sto\sintegrate\
02b0: 73 66 6f 73 73 69 6c 5c 73 77 69 74 68 5c 73 70  sfossil\swith\sp
02c0: 72 65 65 78 69 73 74 69 6e 67 5c 73 61 75 74 68  reexisting\sauth
02d0: 65 6e 74 69 63 61 74 69 6f 6e 5c 73 73 6f 6c 75  entication\ssolu
02e0: 74 69 6f 6e 73 2e 5c 72 5c 6e 5c 72 5c 6e 53 6f  tions.\r\n\r\nSo
02f0: 6d 65 5c 73 73 75 70 70 6f 72 74 5c 73 73 65 65  me\ssupport\ssee
0300: 6e 5c 73 66 6f 72 5c 73 74 68 69 73 5c 73 6f 6e  n\sfor\sthis\son
0310: 5c 73 74 68 65 5c 73 6d 61 69 6c 69 6e 67 5c 73  \sthe\smailing\s
0320: 6c 69 73 74 3a 5c 72 5c 6e 5c 72 5c 6e 68 74 74  list:\r\n\r\nhtt
0330: 70 3a 2f 2f 77 77 77 2e 6d 61 69 6c 2d 61 72 63  p://www.mail-arc
0340: 68 69 76 65 2e 63 6f 6d 2f 66 6f 73 73 69 6c 2d  hive.com/fossil-
0350: 75 73 65 72 73 40 6c 69 73 74 73 2e 66 6f 73 73  users@lists.foss
0360: 69 6c 2d 73 63 6d 2e 6f 72 67 2f 6d 73 67 30 31  il-scm.org/msg01
0370: 37 31 31 2e 68 74 6d 6c 5c 72 5c 6e 5c 72 5c 6e  711.html\r\n\r\n
0380: 5c 73 5c 73 22 4e 6f 74 68 69 6e 67 5c 73 74 6f  \s\s"Nothing\sto
0390: 5c 73 63 6f 6e 74 72 69 62 75 74 65 5c 73 6f 74  \scontribute\sot
03a0: 68 65 72 5c 73 74 68 61 6e 5c 73 74 6f 5c 73 73  her\sthan\sto\ss
03b0: 61 79 2c 5c 73 79 65 61 68 2c 5c 73 74 68 61 74  ay,\syeah,\sthat
03c0: 5c 73 77 6f 75 6c 64 5c 73 62 65 5c 73 70 72 65  \swould\sbe\spre
03d0: 74 74 79 5c 73 63 6f 6f 6c 2e 22 5c 72 5c 6e 5c  tty\scool."\r\n\
03e0: 72 5c 6e 4e 4f 54 45 3a 5c 73 53 75 70 70 6f 72  r\nNOTE:\sSuppor
03f0: 74 69 6e 67 5c 73 52 45 4d 4f 54 45 5f 55 53 45  ting\sREMOTE_USE
0400: 52 5c 73 6f 6e 6c 79 5c 73 6d 61 6b 65 73 5c 73  R\sonly\smakes\s
0410: 73 65 6e 73 65 5c 73 77 68 65 6e 5c 73 72 75 6e  sense\swhen\srun
0420: 6e 69 6e 67 5c 73 69 6e 5c 73 22 66 6f 73 73 69  ning\sin\s"fossi
0430: 6c 5c 73 63 67 69 22 5c 73 6d 6f 64 65 2e 0a 4a  l\scgi"\smode..J
0440: 20 70 72 69 76 61 74 65 5f 63 6f 6e 74 61 63 74   private_contact
0450: 20 61 65 31 61 37 34 36 37 36 62 62 30 64 31 61   ae1a74676bb0d1a
0460: 63 35 32 30 38 30 32 31 30 39 66 39 32 36 35 36  c520802109f92656
0470: 37 62 31 36 33 37 61 63 37 0a 4a 20 73 74 61 74  7b1637ac7.J stat
0480: 75 73 20 4f 70 65 6e 0a 4a 20 74 69 74 6c 65 20  us Open.J title 
0490: 53 75 70 70 6f 72 74 5c 73 52 45 4d 4f 54 45 5f  Support\sREMOTE_
04a0: 55 53 45 52 5c 73 43 47 49 5c 73 76 61 72 69 61  USER\sCGI\svaria
04b0: 62 6c 65 5c 73 74 6f 5c 73 61 75 74 6f 5c 73 6c  ble\sto\sauto\sl
04c0: 6f 67 69 6e 5c 73 77 68 65 6e 5c 73 75 73 69 6e  ogin\swhen\susin
04d0: 67 5c 73 66 6f 73 73 69 6c 5c 73 63 67 69 5c 73  g\sfossil\scgi\s
04e0: 6d 6f 64 65 0a 4a 20 74 79 70 65 20 46 65 61 74  mode.J type Feat
04f0: 75 72 65 5f 52 65 71 75 65 73 74 0a 4b 20 34 39  ure_Request.K 49
0500: 39 32 39 61 33 35 35 37 61 62 30 64 33 35 37 63  929a3557ab0d357c
0510: 32 66 35 62 32 62 35 66 36 37 32 64 35 39 62 33  2f5b2b5f672d59b3
0520: 61 61 63 64 32 35 0a 55 20 61 6e 6f 6e 79 6d 6f  aacd25.U anonymo
0530: 75 73 0a 5a 20 35 32 31 39 62 39 63 38 65 33 38  us.Z 5219b9c8e38
0540: 31 32 31 34 31 38 36 34 64 64 66 66 32 62 30 65  12141864ddff2b0e
0550: 37 34 38 30 34 0a                                74804.