Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001608 [Quercus] minor always 02-09-07 09:06 03-21-07 11:58
Reporter ferg View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001608: Quercus and code igniter
Description (rep by Michael Bachers)

I'm working on an app using Code Igniter and would like to run it in
Quercus on Resin 3.1.0. Simple PHP code works great, but I'm getting
some errors when I try to deploy my Code Igniter code. The main
problem seems to start with this line in my index.php:
define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
When I hard code the extension things work fine, until I run into the
next problem below.

CI relies heavily on mod_rewrite, and that's where most of the errors
seem to be coming from. I fixed the initial encoding issues, etc.,
but now need to translate this:
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|user_guide|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
to rewrite-dispatch format and am not sure how to adapt it. I did try:
     <dispatch regexp="$1 !^(index\.php|assets|user_guide|robots
     <forward regexp="^(.*)$" target="index.php/$1"/>
to no avail.

So my questions:

1. Can both of these problem be addressed somehow in web.xml or
resin-web.xml, specifically with <php-ini> and <rewrite-dispatch>

2. Can anyone provide an equivalent <rewrite-dispatch> example for
the mod_rewrite expression I posted?
Additional Information
Attached Files

- Relationships

- Notes
03-21-07 11:58

php/1643 (pathinfo was outdated)

- Issue History
Date Modified Username Field Change
02-09-07 09:06 ferg New Issue
03-21-07 11:57 nam Status new => assigned
03-21-07 11:57 nam Assigned To  => nam
03-21-07 11:58 nam Status assigned => closed
03-21-07 11:58 nam Note Added: 0001783
03-21-07 11:58 nam Resolution open => fixed
03-21-07 11:58 nam Fixed in Version  => 3.1.1

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker