↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
PeterThoeny | tomc20922: yes, you can do that with an apache rewrite rule by changing view to viewauth
if it helps here is the rewrite i use on twiki.org to force auth if a url param is present, with exceptions: RewriteEngine On RewriteCond %{QUERY_STRING} !^$ RewriteCond %{QUERY_STRING} !^(slideshow=|note=|skin=text|skin=plain) RewriteRule view/(.*) /cgi-bin/viewauth/$1 | [00:34] |
........................... (idle for 2h14mn) | ||
tomc20922 | Thanks for the rewriter rule. I'll append it. | [02:49] |
................................................................................................... (idle for 8h14mn) | ||
*** | [TWikiOrgBot] has quit IRC (Ping timeout: 246 seconds) | [11:03] |
................................................................................ (idle for 6h39mn) | ||
ChanServ sets mode: +o PeterThoeny | [17:42] | |
............................ (idle for 2h16mn) | ||
morsedl3 | Hi Folks! After installing the BatchUploadPlugin, I'm getting "Insecure dependency in chmod while running with -T switch" after the zip file uploads.
I see that the plugin start to work, as the first file in the zip file shows up in working/work_areas, e.g. "./working/work_areas/BatchUploadPlugin/259155135/image01.png" I'm fairly familiar with perl and taint mode, but it's not clear to me how to correct this. Any help most appreciated. | [19:58] |
PeterThoeny: bump :) | [20:14] | |
PeterThoeny | morsedl3: i have not used this plugin
time to debug | [20:16] |
morsedl3 | PeterThoeny: gotcha. thanks! | [20:16] |
PeterThoeny | a quick glance at http://svn.twiki.org/svn/twiki/trunk/BatchUploadPlugin/lib/TWiki/Plugins/BatchUploadPlugin.pm
there is no name validation and taint check done i invite you to submit a patch or better yet, request svn commit access so that you can work directly in the repository related link: http://twiki.org/cgi-bin/view/Plugins/ReadmeFirst | [20:18] |
morsedl3 | K, will do. I presume I would do that with the plugin author, correct? I do I request that from you? | [20:20] |
PeterThoeny | http://twiki.org/cgi-bin/view/Plugins/PluginsInSubversion | [20:20] |
morsedl3 | Again, thanks, and will do. | [20:20] |
PeterThoeny | see "request checkin rights to the subversion repository" link in the second url
just checked http://twiki.org/cgi-bin/view/Plugins/BatchUploadPlugin it has modification policy PleaseFeelFreeToModify, so yes... | [20:20] |
morsedl3 | PeterThoeny: While I've got you: I don't really need this plugin this instant if I can simply copy files to the appropriate twiki/pub/<topic> dir. But I notice that all files created in /pub seem to have RCS files as well (i.e., ,v extension). So, I'm a bit hesitant to copy files there. I suppose I could do an RCS ci on each, but that seems like a bad idea outside the TWiki itself.
So, IOW, is it required that every file in twiki/pub/<topic> have an associated RCS file? Or will Twiki simply create it later if needed? | [20:23] |
PeterThoeny | twiki allows files without ,v files as attachments | [20:24] |
morsedl3 | OK, perfect, thanks. I'll do that for now and in a few hours I'll tackle getting the BatchUploadPlugin corrected. | [20:25] |
PeterThoeny | but if you simply copy files to the relevant location on the shell level you will miss the attachment meta data in the topic (name, size, comment, user, date), and attachments are not queryable
how big is your twiki deployment? | [20:25] |
morsedl3 | ah, ok, that's not so great...
small, 10 users. i'll just tackle the plugin first, since that's the "right" way to go about it | [20:26] |
PeterThoeny | sorry, gotta run... | [20:34] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |