[ic] Using mod_rewrite AND mod_interchange

Bryan D Gmyrek gmyrek at U.Arizona.EDU
Tue Apr 13 00:22:27 EDT 2004


I already have mod_interchange and mod_rewrite working.
Problem is getting them working together.  For example
if I have /store set up as the path for mod_interchange
and then want to rewrite something to it such as:
(in .htaccess or httpd.conf)
RewriteRule ^/foo/(.*)$  /store/scan/st=db/sf=title/se=$1 [PT,L]

Then I try
I get the interchange page with error

Sorry, the page (foo/what) was not found

This *does* work if I use the cgi link program and the rewrite
rule is
RewriteRule ^/foo/(.*)$  /cgi-bin/store/scan/st=db/sf=title/se=$1 [PT,L]

So I guess the short of it is how do you use rewrite rules and
mod_interchange together?  I've tried putting the rules in httpd.conf
*before* the <Location /store> lines but to no avail.

There are no entries in the error logs for the catalog, in the
man interchange dir, or the apache logs.  I figure because
I get the ic error page and not just 'page not found' then IC
must be getting the request, but not sure why it doesn't process
it 'normally'.

Thanks for any help,

More information about the interchange-users mailing list