Author: monsieurpaul Email: Message: Hi, I'm quite new to mnogosearch and I'm experiencing an issue with AliasProg.
I want to index a page like http://myserver/myapp/doc.do%3Bjsessionid=12CC078A31A8321D910CC965932A0F36?idDoc=5032 I want to remove the jsessionid, so I try using AliasProg : AliasProg "echo $1 | sed 's/%3Bjsession[^?]*//g'" My server line : Server site http://myserver/myapp with indexer -v 5 I can see that everything SEEMS to be fine : indexer[24738]: [24738]{01} URL: http://myserver/myapp/doc.do%3Bjsessionid=12CC078A31A8321D910CC965932A0F36?idDoc=5032 indexer[24738]: [24738]{01} Starting AliasProg: 'echo http://myserver/myapp/doc.do%3Bjsessionid=12CC078A31A8321D910CC965932A0F36?idDoc=5032 | sed 's/%3Bjsession[^?]*//g'' indexer[24738]: [24738]{01} AliasProg result: 'http://myserver/myapp/doc.do?idDoc=5032' indexer[24738]: [24738]{01} Server Site Allow 'http://myserver/' indexer[24738]: [24738]{01} Allow by default indexer[24738]: [24738]{01} Alias: 'http://myserver/myapp/doc.do?idDoc=5032' But if I search this document, I see that the url WITH the jsessions thing is stored instead of the URL alias. What I am doing wrong? Thank you for your help Reply: <http://www.mnogosearch.org/board/message.php?id=21541> _______________________________________________ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general