On Wed, 24 May 2000, Bruce Fancher wrote:

> Is there someway to have rewrite urls either a) as they are added to the
> database or b) as they are retrieved and displayed through the template so
> that e.g.
> 
> http://hostname/pagename.html
> 
> becomes
> 
> http://hostname/cgi-bin/program/loadpage?pagename=pagename.html

You want to use the url_part_aliases attribute. You set up this in your
digging config file:

url_part_aliases: http://hostname/ *1

Then you make up a *new* config file for searching with this:

url_part_aliases: http://hostname/cgi-bin/program/loadpage?pagename= *1

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to