Artifact
75ce145719ce961890cb23b2d9fe81a2bec8df39:
Ticket change
[75ce145719]
- New ticket [cdfef04661]
Specify file or directory options on "fossil cgi" command line.
by
anonymous
2011-03-11 21:52:44.
0000: 44 20 32 30 31 31 2d 30 33 2d 31 31 54 32 31 3a D 2011-03-11T21:
0010: 35 32 3a 34 34 2e 34 35 34 0a 4a 20 63 6f 6d 6d 52:44.454.J comm
0020: 65 6e 74 20 49 27 6d 5c 73 74 72 79 69 6e 67 5c ent I'm\strying\
0030: 73 74 6f 5c 73 75 73 65 5c 73 46 6f 73 73 69 6c sto\suse\sFossil
0040: 27 73 5c 73 43 47 49 5c 73 6d 6f 64 65 2c 5c 73 's\sCGI\smode,\s
0050: 62 75 74 5c 73 77 69 74 68 5c 73 2f 69 6e 64 65 but\swith\s/inde
0060: 78 2e 63 67 69 5c 73 61 6e 64 5c 73 6f 74 68 65 x.cgi\sand\sothe
0070: 72 5c 73 73 75 63 68 5c 73 61 72 74 69 66 61 63 r\ssuch\sartifac
0080: 74 73 5c 73 6f 66 5c 73 74 68 65 5c 73 68 6f 73 ts\sof\sthe\shos
0090: 74 69 6e 67 5c 73 63 6f 6e 66 69 67 75 72 61 74 ting\sconfigurat
00a0: 69 6f 6e 5c 73 72 65 6d 6f 76 65 64 5c 73 66 72 ion\sremoved\sfr
00b0: 6f 6d 5c 73 74 68 65 5c 73 55 52 4c 2e 5c 73 49 om\sthe\sURL.\sI
00c0: 5c 73 63 75 72 72 65 6e 74 6c 79 5c 73 68 61 76 \scurrently\shav
00d0: 65 5c 73 72 65 77 72 69 74 65 73 5c 73 77 6f 72 e\srewrites\swor
00e0: 6b 69 6e 67 5c 73 69 6e 5c 73 74 68 65 5c 73 73 king\sin\sthe\ss
00f0: 65 72 76 65 72 2c 5c 73 61 6e 64 5c 73 61 5c 73 erver,\sand\sa\s
0100: 73 68 65 6c 6c 5c 73 73 63 72 69 70 74 5c 73 74 shell\sscript\st
0110: 68 61 74 5c 73 6d 75 6e 67 65 73 5c 73 74 68 65 hat\smunges\sthe
0120: 5c 73 65 6e 76 69 72 6f 6e 6d 65 6e 74 5c 73 76 \senvironment\sv
0130: 61 72 69 61 62 6c 65 73 2c 5c 73 62 75 74 5c 73 ariables,\sbut\s
0140: 49 27 6d 5c 73 68 61 76 69 6e 67 5c 73 74 72 6f I'm\shaving\stro
0150: 75 62 6c 65 5c 73 62 72 69 64 67 69 6e 67 5c 73 uble\sbridging\s
0160: 74 6f 5c 73 22 66 6f 73 73 69 6c 5c 73 63 67 69 to\s"fossil\scgi
0170: 22 2e 5c 72 5c 6e 5c 72 5c 6e 49 6e 5c 73 70 61 ".\r\n\r\nIn\spa
0180: 72 74 69 63 75 6c 61 72 2c 5c 73 62 65 63 61 75 rticular,\sbecau
0190: 73 65 5c 73 6d 79 5c 73 73 68 65 6c 6c 5c 73 73 se\smy\sshell\ss
01a0: 63 72 69 70 74 5c 73 69 73 6e 27 74 5c 73 74 68 cript\sisn't\sth
01b0: 65 5c 73 73 74 6f 63 6b 5c 73 23 21 2f 75 73 72 e\sstock\s#!/usr
01c0: 2f 6c 6f 63 61 6c 2f 62 69 6e 2f 66 6f 73 73 69 /local/bin/fossi
01d0: 6c 5c 73 65 78 61 6d 70 6c 65 2c 5c 73 49 5c 73 l\sexample,\sI\s
01e0: 63 61 6e 27 74 5c 73 70 61 73 73 5c 73 74 68 65 can't\spass\sthe
01f0: 5c 73 72 65 70 6f 73 69 74 6f 72 79 5c 73 6f 72 \srepository\sor
0200: 5c 73 64 69 72 65 63 74 6f 72 79 5c 73 6f 70 74 \sdirectory\sopt
0210: 69 6f 6e 73 5c 73 73 6f 5c 73 69 74 5c 73 6b 6e ions\sso\sit\skn
0220: 6f 77 73 5c 73 77 68 65 72 65 5c 73 74 6f 5c 73 ows\swhere\sto\s
0230: 6c 6f 6f 6b 5c 73 66 6f 72 5c 73 69 74 73 5c 73 look\sfor\sits\s
0240: 64 61 74 61 2e 5c 73 41 6e 5c 73 65 78 61 6d 70 data.\sAn\sexamp
0250: 6c 65 5c 73 69 6e 5c 73 74 68 65 5c 73 63 6f 6f le\sin\sthe\scoo
0260: 6b 62 6f 6f 6b 5c 73 77 72 69 74 65 73 5c 73 61 kbook\swrites\sa
0270: 5c 73 74 65 6d 70 6f 72 61 72 79 5c 73 63 6f 6d \stemporary\scom
0280: 70 61 74 69 62 6c 65 5c 73 73 63 72 69 70 74 5c patible\sscript\
0290: 73 63 6f 6e 74 61 69 6e 69 6e 67 5c 73 74 68 65 scontaining\sthe
02a0: 5c 73 6e 65 65 64 65 64 5c 73 6f 70 74 69 6f 6e \sneeded\soption
02b0: 73 5c 73 61 6e 64 5c 73 73 70 61 77 6e 73 5c 73 s\sand\sspawns\s
02c0: 61 6e 5c 73 69 6e 73 74 61 6e 63 65 2c 5c 73 62 an\sinstance,\sb
02d0: 75 74 5c 73 73 75 72 65 6c 79 5c 73 74 68 65 72 ut\ssurely\sther
02e0: 65 5c 73 68 61 73 5c 73 74 6f 5c 73 62 65 5c 73 e\shas\sto\sbe\s
02f0: 61 5c 73 62 65 74 74 65 72 5c 73 77 61 79 2e 5c a\sbetter\sway.\
0300: 72 5c 6e 5c 72 5c 6e 43 61 6e 5c 73 22 66 6f 73 r\n\r\nCan\s"fos
0310: 73 69 6c 5c 73 63 67 69 22 5c 73 61 63 63 65 70 sil\scgi"\saccep
0320: 74 5c 73 2d 72 5c 73 6f 72 5c 73 2d 64 5c 73 6f t\s-r\sor\s-d\so
0330: 70 74 69 6f 6e 73 5c 73 74 68 61 74 5c 73 63 6f ptions\sthat\sco
0340: 72 72 65 73 70 6f 6e 64 5c 73 74 6f 5c 73 74 68 rrespond\sto\sth
0350: 65 5c 73 22 72 65 70 6f 73 69 74 6f 72 79 3a 22 e\s"repository:"
0360: 5c 73 6f 72 5c 73 22 64 69 72 65 63 74 6f 72 79 \sor\s"directory
0370: 3a 22 5c 73 76 61 6c 75 65 73 5c 73 66 72 6f 6d :"\svalues\sfrom
0380: 5c 73 74 68 65 5c 73 73 68 65 6c 6c 5c 73 73 63 \sthe\sshell\ssc
0390: 72 69 70 74 2c 5c 73 6f 72 5c 73 70 65 72 68 61 ript,\sor\sperha
03a0: 70 73 5c 73 75 73 65 5c 73 61 5c 73 73 69 6e 67 ps\suse\sa\ssing
03b0: 6c 65 5c 73 73 77 69 74 63 68 5c 73 61 6e 64 5c le\sswitch\sand\
03c0: 73 69 6e 74 65 6c 6c 69 67 65 6e 74 6c 79 5c 73 sintelligently\s
03d0: 73 65 74 5c 73 74 68 65 5c 73 72 69 67 68 74 5c set\sthe\sright\
03e0: 73 76 61 6c 75 65 3f 5c 73 46 6f 72 5c 73 69 6e svalue?\sFor\sin
03f0: 73 74 61 6e 63 65 3a 5c 72 5c 6e 5c 72 5c 6e 66 stance:\r\n\r\nf
0400: 6f 73 73 69 6c 5c 73 63 67 69 5c 73 2d 72 5c 73 ossil\scgi\s-r\s
0410: 2f 68 6f 6d 65 2f 66 6f 73 73 69 6c 2f 6d 79 70 /home/fossil/myp
0420: 72 6f 6a 65 63 74 2e 66 6f 73 73 69 6c 5c 72 5c roject.fossil\r\
0430: 6e 66 6f 73 73 69 6c 5c 73 63 67 69 5c 73 2d 64 nfossil\scgi\s-d
0440: 5c 73 2f 68 6f 6d 65 2f 66 6f 73 73 69 6c 5c 72 \s/home/fossil\r
0450: 5c 6e 5c 72 5c 6e 4f 72 5c 73 6d 61 79 62 65 5c \n\r\nOr\smaybe\
0460: 73 73 6f 6d 65 74 68 69 6e 67 5c 73 6c 69 6b 65 ssomething\slike
0470: 3a 5c 72 5c 6e 5c 72 5c 6e 66 6f 73 73 69 6c 5c :\r\n\r\nfossil\
0480: 73 2d 74 5c 73 2f 68 6f 6d 65 2f 66 6f 73 73 69 s-t\s/home/fossi
0490: 6c 2f 6d 79 70 72 6f 6a 65 63 74 2e 66 6f 73 73 l/myproject.foss
04a0: 69 6c 5c 72 5c 6e 66 6f 73 73 69 6c 5c 73 2d 74 il\r\nfossil\s-t
04b0: 5c 73 2f 68 6f 6d 65 2f 66 6f 73 73 69 6c 5c 72 \s/home/fossil\r
04c0: 5c 6e 5c 72 5c 6e 77 68 65 72 65 5c 73 22 2d 74 \n\r\nwhere\s"-t
04d0: 22 5c 73 6d 65 61 6e 73 5c 73 22 74 61 72 67 65 "\smeans\s"targe
04e0: 74 22 5c 73 61 6e 64 5c 73 73 65 74 73 5c 73 74 t"\sand\ssets\st
04f0: 68 65 5c 73 63 6f 72 72 65 63 74 5c 73 6f 70 74 he\scorrect\sopt
0500: 69 6f 6e 5c 73 62 61 73 65 64 5c 73 6f 6e 5c 73 ion\sbased\son\s
0510: 77 68 65 74 68 65 72 5c 73 74 68 65 5c 73 74 61 whether\sthe\sta
0520: 72 67 65 74 5c 73 69 73 5c 73 61 5c 73 66 69 6c rget\sis\sa\sfil
0530: 65 5c 73 6f 72 5c 73 64 69 72 65 63 74 6f 72 79 e\sor\sdirectory
0540: 2e 0a 4a 20 70 72 69 76 61 74 65 5f 63 6f 6e 74 ..J private_cont
0550: 61 63 74 20 65 37 64 37 33 33 37 30 37 64 38 63 act e7d733707d8c
0560: 31 32 36 64 65 34 66 30 38 30 66 35 66 39 35 38 126de4f080f5f958
0570: 65 37 36 32 62 66 61 61 38 39 38 33 0a 4a 20 73 e762bfaa8983.J s
0580: 74 61 74 75 73 20 4f 70 65 6e 0a 4a 20 74 69 74 tatus Open.J tit
0590: 6c 65 20 53 70 65 63 69 66 79 5c 73 66 69 6c 65 le Specify\sfile
05a0: 5c 73 6f 72 5c 73 64 69 72 65 63 74 6f 72 79 5c \sor\sdirectory\
05b0: 73 6f 70 74 69 6f 6e 73 5c 73 6f 6e 5c 73 22 66 soptions\son\s"f
05c0: 6f 73 73 69 6c 5c 73 63 67 69 22 5c 73 63 6f 6d ossil\scgi"\scom
05d0: 6d 61 6e 64 5c 73 6c 69 6e 65 0a 4a 20 74 79 70 mand\sline.J typ
05e0: 65 20 46 65 61 74 75 72 65 5f 52 65 71 75 65 73 e Feature_Reques
05f0: 74 0a 4b 20 63 64 66 65 66 30 34 36 36 31 36 65 t.K cdfef046616e
0600: 31 61 62 34 37 39 35 33 66 37 38 64 63 32 61 31 1ab47953f78dc2a1
0610: 33 39 65 61 62 35 35 31 37 38 34 64 0a 55 20 61 39eab551784d.U a
0620: 6e 6f 6e 79 6d 6f 75 73 0a 5a 20 66 35 36 33 37 nonymous.Z f5637
0630: 64 61 64 65 61 64 37 32 30 33 64 31 36 64 35 61 dadead7203d16d5a
0640: 64 37 39 65 34 37 35 65 64 31 33 0a d79e475ed13.