Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Andy Bradford
Thus said Matt Welland on Fri, 11 Apr 2014 07:51:59 -0700: > I assumed that behaviour was default but I may simply have been lucky > to be on a system with apache already configured this way. Either way > it is good to know this nuance in apache configuration. Thanks. It will work if Apache

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Ron Wilson
On Fri, Apr 11, 2014 at 1:30 PM, Eduardo Morras wrote: > Check this addon for firefox > https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/ > > It allows change the user-agent and identify firefox as a IE. Thanks. I tried that and several others. Didn't help. As I said, these ar

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Eduardo Morras
On Fri, 11 Apr 2014 12:54:22 -0400 Ron Wilson wrote: > > Still fails under IE, but I only tried it as an additional data point. > (Normally I only use IE to access certain company internal websites > that "aggressively" refuse to work with anything other than IE (any > version of IE).) Check th

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Ron Wilson
On Fri, Apr 11, 2014 at 12:44 PM, Stephan Beal wrote: > In hindsight, i should not have expected it to fail (and not sure why i > did. Browser cache? Dunno.), because /index.php/ is also valid. > Still fails under IE, but I only tried it as an additional data point. (Normally I only use IE to acc

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Stephan Beal
On Fri, Apr 11, 2014 at 6:39 PM, Ron Wilson wrote: > When I get home, I will try it with FF (as a different user) and wget. > With wget they're equivalent for me: [stephan@host:~/cvs/fossil/fossil]$ wget -O /dev/stdout http://fossil.wanderinghorse.net/repos/test/blah/ | head --2014-04-11 18:41:

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Ron Wilson
On Fri, Apr 11, 2014 at 9:22 AM, Richard Hipp wrote: > On Fri, Apr 11, 2014 at 9:13 AM, Stephan Beal wrote: > >> >> This works: >> http://fossil.wanderinghorse.net/repos/test/blah >> >> but this does not: >> http://fossil.wanderinghorse.net/repos/test/blah/ >> >> (notice the trailing slash) >> >>

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Stephan Beal
On Fri, Apr 11, 2014 at 4:51 PM, Matt Welland wrote: > However I'm not sure I understand the actual limitation being addressed as > my cgi "scripts" are all compiled programs and I don't recall ever needing > an extension. I assumed that behaviour was default but I may simply have > been lucky to

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Matt Welland
I think a sym-link will give you both worlds. ln -s blah blah.cgi However I'm not sure I understand the actual limitation being addressed as my cgi "scripts" are all compiled programs and I don't recall ever needing an extension. I assumed that behaviour was default but I may simply have been luc

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Stephan Beal
On Fri, Apr 11, 2014 at 3:22 PM, Richard Hipp wrote: > http://fossil.wanderinghorse.net/repos/test/blah >> http://fossil.wanderinghorse.net/repos/test/blah/ >> >> > Both links work for me, using FF and Chrome. Did you change something on > the server since this email was posted? > Weird. Not in

Re: [fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Richard Hipp
On Fri, Apr 11, 2014 at 9:13 AM, Stephan Beal wrote: > > This works: > http://fossil.wanderinghorse.net/repos/test/blah > > but this does not: > http://fossil.wanderinghorse.net/repos/test/blah/ > > (notice the trailing slash) > > Both links work for me, using FF and Chrome. Did you change some

[fossil-users] Fossil CGI trick: extensionless CGIs under Apache

2014-04-11 Thread Stephan Beal
Hi, all, fellow list member Caleb Gray recently shared a tip with me off-list which i feel is worth passing on: extensionless CGI scripts under Apache. For example: http://fossil.wanderinghorse.net/repos/test/blah "blah" is a CGI script which looks like: #!/path/to/fossil repository: /path/to/