Hi there, i want to analyse a single parameter (pageId) and strip or ignore all the other parameteres in the QueryString.
Example: ========================== /index.php?pageId=134 /index.php?useHTML=html&trader=861&sub_trader=PK&referrer=com /index.php?trader=213&sub_trader=stadtleben /index.php?useHTML=&pageId=56 ========================== I tried the following, but it doesn't seem to work straight. --------------------- FILEALIAS /index.php?pageId=*&* /index.php?pageId=$1 ---------------------- i also tried a regex (not sure if the syntax is ok): ----------------- FILEALIAS REGEXPI:^(\/index\.php\?)(.*?)(pageId=)([0-9]*?) /index.php?pageId=$4 ---------------- facts: -------------------- I have entries with NO pageId also, which should be listed as "/index.php" I have pageId sitting as first or last or n-th parameter How can i group those, so that i have an output like /index.php?pageId=1 /index.php?pageId=3 /index.php?pageId=23 /index.php and no other parameters. Thanks for your help in advance! gerd __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Mit Yahoo! Suche finden Sie alles: http://suche.yahoo.de +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------
