#foswiki 2012-04-01,Sun

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
SvenDowideitargh!
i've managed to get mu trunk checkout to give me urls like http://web/topic
oh, wow
even configure's doing it.
my entire apache cfg atm is:
<Files "configure">
SetHandler cgi-script
</Files>
<Files "foswiki.fcgi">
SetHandler fastcgi-script
</Files>
RewriteEngine on
RewriteCond %{REQUEST_URI} !/*configure
RewriteCond %{REQUEST_URI} !/*foswiki.fcgi
RewriteCond %{REQUEST_URI} !/*pub
RewriteRule ^(.*)$ foswiki.fcgi/$1 [L]
[00:54]
..... (idle for 22mn)
mmm, so if i hack around with the view scripturl to make it / or similar, it all goes boom
dunno if 1.1.5 has this issue too
[01:18]
.......... (idle for 45mn)
gac410SvenDowideit: reading the logs ... say WHAT? What are you trying to do with the configuration? [02:04]
SvenDowideitmmm
trying - hand hack a really trivial setup
along the way i'm finding weird cornercases
but setting the {ScriptUrlPaths}{view}='/' seems to cause problems
[02:05]
gac410From what you posted ... do you have a pub exception? Or are you trying to rewrite everything to fcgi [02:06]
SvenDowideiti'm on trunk, cos i need to do pagecache stuff too
<SvenDowideit> RewriteCond %{REQUEST_URI} !/*pub
[02:06]
gac410That field is either a full path, or should be empty. [02:06]
SvenDowideiton trunk [02:06]
gac410I've never seen it be just / [02:06]
SvenDowideitif its empty
it defaults to the long version
[02:06]
gac410right. And set it to empty for "short urls" [02:07]
SvenDowideiti often put in /, as empty just seems fraught
no
atm, when you set it to epmty, it default back to _long_
(this is trunk
[02:07]
gac410nope, not supposed to.
Yeah I know.
[02:07]
SvenDowideitwell, its vague
imo empty is better to default than to magic but meh :)
the fun thing is that i have a shorterurl fastcgi setup in very few lines
and there is no bin dir in the apache space
as i detest that
now what i want is a NO_SESSION thing for guest
or _something_ so that apache can identify non-auth users and go even faster
[02:07]
gac410As far as the LSC settings, AFAIK none of them are supposed to have trailing slash, even when empty. Foswiki inserts the leading slash somwhere ... not sure where. [02:10]
SvenDowideitcos pagecache is too slow for me >:}
the bug i found
is that with {s}{view} set to something like '/'
the ur;s lose the hostname
[02:10]
gac410I'll have to try it too, but I'd expect a //Web/Topic if you put fiew to / [02:10]
SvenDowideitand become http://system/WebHome
so i've given up on zero length 'view' for now
so far, i've installed core, fastcgienginecontrib and famfamfam only
as searches break if famfamfam isn't there
[02:11]
gac410Right in the docs: # This is the complete path used to access the Foswiki view script including any suffix. Do not include a trailing /. [02:12]
SvenDowideitcept that its very weird to read
its 'complete' but actually should not include the hostname
[02:12]
gac410The hostname is not part of the path ... I don't think. [02:13]
SvenDowideitif you know what you're doing, yes [02:13]
gac410well ... ;P
er ... try that again ... Well :P :D
[02:13]
SvenDowideitSvenDowideit giggles
SvenDowideit is changing the SitePrefs topic name
i wonder if i should actiually change the userweb
[02:14]
gac410Gah.... wehere is the proposal? [02:14]
SvenDowideitwhat proposal?
itsa cfg setting!
[02:15]
gac410oh... I thought you were renaming it in trunk svn :) [02:15]
SvenDowideitthis way i can git svn rebase with random abandon
mmm, i guess if i change the admin user, i get to set my super skin on that too, and stilll.
nice
[02:15]
gac410If it's a public wiki without AWSPI, rename UsersWeb from Main to Spammers :D [02:17]
SvenDowideit<SvenDowideit> [off] http://uwiki.net [02:17]
gac410With all this renaming, you'll make the configure package installer earn it's keep with remapping topics and file locations [02:18]
SvenDowideiti'm unlikely to run topicusermapping tho [02:18]
gac410Hm. I doubt pseudo-install does remapping of renamed webs or topics though But maybe I'll be surprised. [02:18]
SvenDowideithehe
an now all guests get plain skin
take that g+
[02:20]
gac410SvenDowideit: There is an env variable that can turn off sessions for search appliances - maybe you can extend that to include guests. [02:20]
SvenDowideitchicken and egg
i think
actually
NO_SESSION unless there is a session cookie
and then login would create a session IFF auth success :/
might work, could be neat
still takes 400ms to receive the html from DH's shared hosting
oh well, more playing later :)
[02:21]
....... (idle for 31mn)
gac410howdy pharvey [02:54]
pharveyhi [02:54]
SvenDowideitgac410,
RewriteCond %{HTTP:Cookie} !(^|;\ *)FOSWIKISID=([^;\ ]+)
RewriteRule ^ - [E=NO_FOSWIKI_SESSION:on]
and excellent!
on failed auth login sets no cookie
[02:55]
gac410SvenDowideit: Cool ... amazing the magic you can do with rewrite. [02:56]
SvenDowideitso i can add a rewrite so that without a cookie apache goes straight to static html
now all i need, is to mod pagecache to put a non-session cached html on disk
and then guest will be no code for non-dynamic pages
or maybe even for dynamics, have to think about partial and ajax loadin
but now, its lunch :)
[02:57]
gac410can you use publishContrib for a staic snapshot for the bots [02:58]
SvenDowideitna, redundant :)
pagecache does it already, so
[02:58]
gac410The 1.1.x pageCache or is this the trunk rewrite Micha did recently? [02:59]
........ (idle for 38mn)
SvenDowideitgac410, 1.2 re-write with mysql backing
the 1.1 cache killed home.org.au
so i thought i'd set up home.org.au using 1.2 and try to simplify the heck out of things
[03:37]
gac410yeah. I've wondered if the 1.1 version should be marked as an experimental feature and hide as expert settings. [03:38]
SvenDowideiteven the 1.2 version should be expert as we don't _know_ how it'll really work
micah was pretty sure the original one worked
but after a few months he changed his mind :)
[03:38]
......................... (idle for 2h2mn)
pharveyI think I'd like a mode where only WikiGuest got cached pages. 90% of our traffic is from bots - we're sometimes getting more than one request per second, and the human users feel the impact.
And yes, your apache rewrite tricks would be awesome - to get foswiki out of the loop entirely - but I'd need to see how you intend to prime the cache for every topic (and every topic's url parameter permutations...)
anyway, just sayin'
[05:41]
.................... (idle for 1h37mn)
BabarJulian: if you read this, it seems it's still using lenny, and the us mirror removed lenny form their server, which is why it crashed. I cannot easily fix it for you though :(
julian_work: vagrant ssh, then: sudo perl -i -ple 's/lenny/squeeze/' /etc/apt/sources.list.d/debian.list
should fix it
ah no, it's my fault, sorry :)
I can fix it
[07:19]
CDotCDot is being driven nuts by rcs
aha! ciDateCmd doesn't work, has never worked, is a load of old donkey poo
[07:34]
...... (idle for 29mn)
argh. What the RCS doc doesn't say is that you cannot forcedate to a date earlier than any previous revision in the RCS history. Which is reasonable, I guess. [08:05]
................ (idle for 1h19mn)
***leguin.freenode.net sets mode: +o uebera|| [09:24]
...................... (idle for 1h45mn)
SvenDowideitpharvey, http://home.org.au is up again :p
can't recal why you were bugging me about it tho
i'm still mullin gover how to prime the cache
as i really want the apache cfg to goto script if the topic html isn't there, but i don't want it to goto script if there is no topic to get
but even that is really just 2 rewritecond's using -f
the fact that the cache isn't actually capable of simple SEARCH does make me wonder a little about the maths behind it
just so you know, uwiki.net is running your pseudo-install from git method
http://uwiki.net/view/Uwiki/UWikiSimplifiedSetup
atm its core, fcgi and famfam
as the core dies really badly if famfam isn't installed
oh, plus HomePagePLugin
so the same wiki serves different domains from different webs
now, why doesn't configure kick the fcgid exe so that it re-reads the cfg?
[11:09]
..... (idle for 24mn)
actually, pharvey i don't understand http://foswiki.org/Development/GitAndPseudoInstall
thre's lots of instructions, but i don't know which i need, nor why
so i just cloned core and then pseudo-install things
which i guess just means i don' thave submodules
[11:40]
Babaryou don't need that
I created a master module
https://github.com/foswiki/_allDeveloper
clone that, and be done
[11:47]
pharveySvenDowideit: that means you have repo-per-module, and you can svn dcommit with them. But pseudo doesn't maintain any super-module for you, you'll have to do that yourself.
I need to teach pseudo to wire them up to svn if you've used babar's master module.
[11:49]
SvenDowideity, cept, i could not see what the benefit to the suprt module was to me [11:50]
pharveyso you can git submodule foreach foo [11:50]
SvenDowideiteither way i seem to have to foreach (one inside git, the other outside) [11:50]
pharveyoh, SvenDowideit - I guess you've already discovered, pseudo-install.pl FooPlugin BarPlugin CatPlugin in a single hit, is much faster than separate one-by-one psuedo-install commands, waiting for the SVN listing to discover what svn branches to wire the repo to... [11:54]
SvenDowideitnope :)
as i've only gotten 3 modules, and there was an hour between each
[11:54]
Babarbut why would you want svn in the submodules? [11:55]
SvenDowideitso i can git svn dcommit ? [11:55]
Babaranyway need to go for a walk before I lose my motivation :) l8r [11:55]
SvenDowideitlaters :)
enjoy!!
[11:56]
Babaryeah, but I wouldn't dcommit from such an installation [11:56]
SvenDowideitwhy not? [11:56]
Babaranyway, pharvey disagrees, so :) [11:56]
SvenDowideiti've a huge stack of docco to change [11:56]
pharveywhat do I disagree with? [11:56]
SvenDowideitmore fun - this is a functioning foswiki
that is only foswiki/core and famfamfam
and i'll fix the famfamfam caused breakage sometime too
then foswiki/core will actually work without the rest of the stuff we distribute
[11:57]
pharveyI've been dcommitting from these submodules for at least a year now :P
the only time I dcommit from a "fat" checkout is to create a new extension in trunk
this conversation would be unnecessary if we could commit (hah!) to moving to git
[11:57]
SvenDowideitharumpf [11:59]
pharveySvenDowideit: that's great news [11:59]
SvenDowideitits amazing to me :)
as we've not actually worked on making it, it just fell out
[11:59]
pharveyI bet the unit tests aren't so amazing [11:59]
SvenDowideitthey're not installed! [11:59]
pharveyno I mean: I bet they don't pass on your checkout (and they should) [11:59]
SvenDowideityup [12:00]
pharveydidn't usepidgin say he had that problem? [12:00]
SvenDowideiti've not yet decided what to do about a skin on uwiki.net/home.org.au/dowideit.org etc
'that'?
[12:00]
pharveyhttp://uwiki.net/view/System/InstalledPlugins - you need to un-enable some missing plugins :P [12:02]
SvenDowideitna [12:02]
pharveyer, the problem that the unit tests depended on default plugins that they don't use [12:02]
SvenDowideiti work the other way - i need to fix configure to do the right thing [12:02]
pharveyor was it that their build system tries to build core by itself [12:02]
SvenDowideitthe unit tests are all lumped into one big morasse
and need to be pushed out into the extensions they relate to
[12:02]
pharveyhey cool, configure has template-login-esque shenanigans now? :) [12:03]
SvenDowideiti'm actually surprised that configure left those plugins enabled - it told me they were not installed.... so it shoulda done the right thing
yup
george went waaaaay overboard when i raised that task on 1.1.5
and i was well pleased :)
[12:03]
pharveyit always bothered me - glad to see it fixed [12:04]
SvenDowideiti wonder how much the enabled but missing plugins slows my rendering down
(now that i think of that)
[12:06]
pharveymotivation challenge. I should have done something interesting today, instead of misc. [12:06]
SvenDowideit:)
thats why i set up uwiki.net
and now i test it using
ab -n 24 -c 12
and it is totally ok with that
[12:06]
pharveyawesome [12:07]
SvenDowideitTotal: 440 1071 283.5 1170 1370
now, lets see what i get disabling all those plugins that are not there
Total: 399 972 290.1 910 1522
so.
50ms faster
though, those results are all +- 300ms or more
as its shared hosting
[12:07]
......... (idle for 40mn)
CDotwooo hooo why would anyone use anything other than PlainFileStoreContrib? It's sooooo much faster than RcsLite or RcsWrap :-) [12:50]
SvenDowideitha
mongodb makes that look porkey
SvenDowideit runs off :p
[12:50]
...... (idle for 25mn)
CDotoh, sure. I'm talking about relative. Once I have the basic store right, I can throw shit into a DB and see what happens [13:17]
........... (idle for 51mn)
***ChanServ sets mode: +o OliverKrueger
OliverKrueger sets mode: +oo CDot MartinCleaver
[14:08]
......................................................................... (idle for 6h2mn)
ChanServ sets mode: +o OliverKrueger [20:10]
........................... (idle for 2h14mn)
julian_workBabar: heya [22:24]
Babarhey
oh
forgot to push :)
[22:24]
julian_workI haven't used foswiki on debian yet, so I'm confused [22:24]
Babaroh... wrong Julian?
yeah, wrong Julian, my bad, sorry
[22:24]
julian_workall good. :)
Rare there is more then one however..
[22:25]
BabarJulianLevens :)
where are you from?
[22:27]
julian_workBrisbane
AU
[22:28]
BabarBabar knows where Brisbane is. Went there a few years back :) [22:29]
julian_workpoor you. :) [22:29]
Babarnah [22:29]
julian_workI'm kiddin. It's a good place here. [22:29]
BabarI went to Brissy on my way form Cairns to Sydney [22:29]
julian_workI hear you even have some devs in Brissy [22:29]
Babarand on to Canberra and Melbourne [22:29]
julian_worknice long road trip. [22:29]
BabarSvenDowideit is in Brissy [22:29]
julian_workkool. [22:29]
Babaryes, it was very nice indeed :)
north of Brisbane was very nice, Sydney was OK, Canberra was... boring (right pharvey?), and Melbourne looked a lot like Europe
[22:30]
julian_workI love up north myself.
Got alot of family in the carins and townsville region
[22:37]
BabarI love it too
and I love the fact that there are so many ways you can die up there :)
[22:51]
julian_workhehe, there sure is. Take your pick [22:51]
Babarmost deadly ones not being the obvious ones, like crocs, sharks, jelly fishes or snakes... nah. spiders. [22:51]
..... (idle for 23mn)
gac410SvenDowideit: You around? I'm working on deferring your 1.1.5 blockers to 1.2. [23:14]
I think Item11615 and Item11654 can be deferred. The one that is still very worrying is Item11312 [23:26]
FoswikiBothttp://foswiki.org/Tasks/Item11615 [ Item11615: Twisties on 1.1.5rc1 don't have an open/close button (in windows8 ie?) ] http://foswiki.org/Tasks/Item11654 [ Item11654: I'm having strikeone issues with the jqDialogLink form editor here in the Tasks web (works well elsewhere) ]
..http://foswiki.org/Tasks/Item11312 [ Item11312: TinyMCE Corrupting HTML Tables ]
[23:26]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)