From: Gilles D. <gr...@sc...> - 2002-02-12 21:11:18
|
According to Mike Gifford: > I think I've discovered where htdig (htdig.org) is getting stuck with a > phpslash (phpSlash.org) php/MySQL app.. > > There are other apps there other than phpSlash, but I believe it is > because there is a bit of a mixture of pages that use static html pages > and those pages which use sessions (passed through the URL).. > > I think what is happening when htdig tries to reference this site: > http://dev.learningpartnership.org/WLP > > Is that every time htdig skips between a static page and a dynamic > (session page) it looses the session number and so it sees it as a new > page. > > How do I exclude not the URL, but a URL variable & its value? > > A page with: > &slashSess=102d2a135cca14bb423b70e984d040f0 > > should be seen as identical to: > &slashSess=whatever > > This variable should not be stored in the database either.. > slashSess > > Plus there's the problem of passing along the session information > through htdig.. But that's a secondary issue.. > > Any help would be appreciated & sorry for cross posting.. If you don't actually need the slashSess parameter at all to fetch the page, and it can be simply stripped off of the URL, then you can do that in htdig 3.1.6 (or the 3.2.0b4 snapshots) using the url_rewrite_rules attribute. See http://www.htdig.org/attrs.html#url_rewrite_rules -- Gilles R. Detillieux E-mail: <gr...@sc...> 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 |