According to Geoff Hutchison:
> > On Mon, 5 Mar 2001, Weissmann Gregor wrote:
> > > point to the same file (index.php is the default document) and i
> > > want to rewrite all urls containing the index.php to one without it.
> >
> > In this case, it's quite easy. See the remove_default_doc attribute.
> >
> > <http://www.htdig.org/attrs.html#remove_default_doc>
According to Weissmann Gregor:
> This doesnt work for me. i guess its because i've got parameters
> appended after the index.php (like
> index.php?id=something&view=true )
> any hints?
I can think of a couple solutions, but both involve changing the code.
The most obvious one would be to modify URL::removeIndex() in htlib/URL.cc
(htcommon/URL.cc in 3.2) to properly handle removing the default document
name from URLs with query strings.
The other suggestion would be to apply Andy Armstrong's patch to add the
url_rewrite_rules attribute to htdig, and then configure it appropriately.
You can get this patch at
ftp://ftp.ccsf.org/htdig-patches/3.1.5/htdig-3.1.5.aarmstrong.tar.gz
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html