On Wed, 17 Nov 2004, Christian Kaufmann wrote:
>
> I mean that not only one FILEALIAS is applied to a request string, but
> as many as possible. For example, I have the following strings:
>
> mysite.php?nav=about,A
> mysite.php?nav=about,A,2
> mysite.php?nav=about,A&PHPSESSION=123453243243
> mysite.php?nav=about,A,2&PHPSESSION=123453243243
> mysite.php?nav=about,B
> mysite.php?nav=about,B&PHPSESSION=123453243243
>
> My idea was, to have a first FILEALIAS to strip the PHPSESSION argument
> and then rules, like your example:
>
> FILEALIAS *PHPSESSION=* $1.php
>
> FILEALIAS *.php?nav=*,* $1.$2.$3.php
> FILEALIAS *.php?nav=* $1.$2.A.php
>

I see with the point, but to be honest it's unlikely I'll get round to
changing it. You can do your example with something like
  FILEALIAS *.php?nav=*,*&PHPSESSION=* $1.$2.$3.php
  FILEALIAS *.php?nav=*,* $1.$2.$3.php
Remember you can also use regular expressions if it starts to get more
complicated.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
  "Low Priced Cambridge Clare College. Big selection at eBay UK!"
  (Ad after Google search for Clare College Cambridge)
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to