Ticket #6 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

mod_perl support

Reported by: dom Assigned to: dom
Priority: normal Milestone: 0.53
Component: openguides Version:
Severity: normal Keywords:
Cc:

Description

OpenGuides should support mod_perl. Nuff said.

Change History

11/23/05 16:59:19 changed by dom

  • component set to openguides.

12/06/05 18:47:21 changed by chris@prather.org

I got OpenGuides running under Apache::Registry (mod_perl 1.x) for http://saintpaul.openguides.org with only a few hiccups.

I changed all of the globals in wiki.cgi/index.cgi to use 'our' instead of 'my'. This is fairly trivial and shouldn't affect anything.

I had to patch CGI.pm to make sure $r was properly initalized during redirect headers. I'm not sure why this was neccessary but it was going undef during a page-edit-redirect request after the page had been saved by OpenGuides and a redirect request was being made. This was less trivial and needs a better investigation as to why it's happening. I haven't had a chance to really dig into the OpenGuides code yet to figure it out.

Other bugs may still be lurking but I haven't seen them or had any reported yet. I'll let people know when I've gotten further than this.

03/05/06 12:07:51 changed by dom

  • milestone set to 0.52.

03/05/06 21:19:25 changed by dom

  • milestone changed from 0.52 to 0.53.

03/07/06 23:18:16 changed by dom

(In [748]) mod_perl fixes (references #6)

04/05/06 00:05:50 changed by dom

[752] has more fixes.

04/06/06 20:15:43 changed by crschmidt@crschmidt.net

The $r object was something I fixed, but I'm not sure I ever got the code back into OpenGuides? The cause was attempting to use CGI::redirect instead of $q = CGI->new(); $q->redirect(); There should have been a mailing list post about it if I ever sent in a patch for the fix...

04/07/06 17:17:51 changed by crschmidt@crschmidt.net

Also, all cases of 'exit 0' need to be removed in the code -- most of them can simply be replaced by return 0, some can simply be removed.

04/20/06 10:48:53 changed by dom

  • status changed from new to assigned.
  • owner set to dom.

Re 04/06/06 20:15:43: yup, this was #86

04/20/06 10:49:55 changed by dom

  • status changed from assigned to closed.
  • resolution set to fixed.

I believe this ticket is effectively closed now. If any new mod_perl bugs present themselves, open a new ticket.