|
From: <And...@Be...> - 2001-12-12 09:08:15
|
..aiihh! Just found another catch: if you have security set up for = static page, remember to update sys_security from class=3D"MYSITE::BasicPage" = to class=3D'MYSITE::Page' ! Now only one bit is left: get the right edit_document_box called. Right = now still the static_page variant gets loaded and I do not know why... -----Urspr=FCngliche Nachricht----- Von: Nolte, Andreas, D22K-MSN=20 Gesendet: Mittwoch, 12. Dezember 2001 09:23 An: 'Chris Winters' Cc: ope...@li... Betreff: AW: [Openinteract-help] base_page and mime types .. just got this one by RTFM: when updating to OI 1.36 on my test = site, I used the sample server.ini, which defined the "none" handler to be = page. On production I used the sample server.perl, which defined this still to = be basicpage, which does not know about mime types.. Well, now I tried scan_for_new and it also works for 30.000 docs.... I think, base_page will get many of our users happy, which want to upload interesting things like excel statistics about whatever... Really great work, again Chris! later, Andreas -----Urspr=FCngliche Nachricht----- Von: Chris Winters [mailto:ch...@cw...] Gesendet: Dienstag, 11. Dezember 2001 17:02 An: And...@Be... Cc: ope...@li... Betreff: Re: [Openinteract-help] base_page and mime types * Andreas Nolte (And...@Be...) [011211 10:32]: > the file is called e.g. /MS1/BahnCard/MIS/EXTERNE.xls ( happens for > all Excel files ) with mime type application/vnd.ms-excel . Maybe > stupid question: which tool lets you make a HEAD request which gets > past OI login stuff ? Good question -- I see that HEAD doesn't allow you to set a cookie. Maybe you can copy an excel file into a non-protected area and try? I cannot test this right now but will try it later tonight. > I suspect, that my base_page / static_page stuff is somehow screwed > up - but I do not dare to "fix" it at the moment, since I have not > figuered out, what is wrong. Sure, I figured there would be some issues in making the switch. But it's usually easier to just do it than drag it out. (At least that's what I'm telling myself...) > PS: for the list_actions problem: I get error messages like these: >=20 > OpenInteract::Startup::require_module (346) >> --require error: > oiprod::Handler > ::Contact (from contact): Can't locate > oiprod/Handler/Contact.pm > in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux > /usr/lib/perl5/5.6.0 /u > sr/lib/perl5/site_perl/5.6.0/i386-linux = /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/ > perl5/site_perl . /msn/oi/oiprod) at (eval 163) line 3. Yes, this has been fixed in CVS now. Later, Chris --=20 Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |